Structures
The following structures are available globally.
-
See moreMPIPosition
represents the geolocation of an object at a specific point in timeDeclaration
Swift
public struct MPIPosition : Codable, Equatable
-
This
See moreMPICoordinates
represents specfic coordinates/location of an object.Declaration
Swift
public struct MPICoordinates : Codable, Equatable
-
(Deprecated)
MPIBlueDot
represents a blue dot.Warning
MPIBlueDot
is deprecated. Use MPIBlueDotPositionUpdate and MPIBlueDotStateChange instead.Declaration
Swift
@available(*, deprecated, message: "use MPIBlueDotPositionUpdate and MPIBlueDotStateChange") public struct MPIBlueDot : Codable
-
See moreMPIBlueDotPositionUpdate
gives the current position update of the blue dot.Declaration
Swift
public struct MPIBlueDotPositionUpdate : Codable
-
See moreMPIBlueDotStateChange
contains the reason for an unexpected blue dot stateDeclaration
Swift
public struct MPIBlueDotStateChange : Codable
-
See moreMPIColor
represents the brand color of aMPILocation
Declaration
Swift
public struct MPIColor : Codable
-
See moreMPIDestinationSet
is list ofMPINavigatable
objects.Declaration
Swift
public struct MPIDestinationSet
-
See moreMPIDirections
contains paths and instructions to go from anMPINavigatable
object to anotherMPINavigatable
objectDeclaration
Swift
public struct MPIDirections : Codable
-
See moreMPIInstruction
represents a singular step or instruction of anMPIDirection
Declaration
Swift
public struct MPIInstruction : Codable
-
See moreMPIAction
represents the action to be performed in a specificMPIInstruction
Declaration
Swift
public struct MPIAction : Codable
-
See moreMPIGalleryImage
represents a gallery image ofMPILocation
Declaration
Swift
public struct MPIGalleryImage : Codable
-
Custom
See moreMPIHeaders
can be used for requests when loading the venueDeclaration
Swift
public struct MPIHeader : Codable
-
See moreMPIImage
represents the logo image ofMPILocation
Declaration
Swift
public struct MPIImage : Codable
-
MPILocation
represents a specific area of interest such as a store locationNote
AnMPILocation
‘sMPINodes
andMPIPolygons
can be on multipleMPIMaps
, or in multiple non-adjacent places on the sameMPIMap
. For example, all washrooms at a given venue could belong to oneMPILocation
. A washroom location might a have a fewMPIPolygons
spread throughout the venue for each one that exists. On the other hand, a department store could live on multiple floors. A single store can just have one presence, and therefore oneMPIPolygon
. Some Locations just have a single point withMPINodes
.Note
MPILocation
has an ID and will be linked to[MPINode]
,[MPIPolygon]
.Declaration
Swift
public struct MPILocation : MPINavigatable
-
See moreMPILocationState
represents the state ofMPILocation
Declaration
Swift
public struct MPILocationState : Codable
-
Declaration
Swift
public struct MPINode : MPINavigatable
-
See moreMPIOpeningHours
has the opening hours of theMPILocations
.Declaration
Swift
public struct MPIOpeningHours : Codable
-
See moreMPIPhone
represents the phone of anMPILocation
.Declaration
Swift
public struct MPIPhone : Codable
-
See moreMPIPicture
represents the images that depict a specificMPILocation
Declaration
Swift
public struct MPIPicture : Codable
-
See moreMPIPolygon
represents the geographical area covered by anMPILocation
in a venue.Declaration
Swift
public struct MPIPolygon : MPINavigatable
-
See moreMPIPolygonRanking
represents the ranking of aMPIPolygon
Declaration
Swift
public struct MPIPolygonRanking : Codable
-
See moreMPIRankings
represents the rankings data for a venueDeclaration
Swift
public struct MPIRankings : Codable
-
See moreMPISiblingGroup
represents a group of relatedMPILocation
Declaration
Swift
public struct MPISiblingGroup : Codable
-
See moreMPISocial
has different social media urls for anMPILocation
.Declaration
Swift
public struct MPISocial : Codable
-
See moreMPIVenueResponse
contains a data string for a given venue.Declaration
Swift
public struct MPIVenueResponse : Codable
-
See moreMPIVortex
is a special entity that represents a link between two or moreMPIMaps
at a given venue.Declaration
Swift
public struct MPIVortex : MPINavigatable
-
See moreMPIOptions
holds the options to be set when different events are sent.Declaration
Swift
public struct MPIOptions : Codable