Structures

The following structures are available globally.

  • MPIPosition represents the geolocation of an object at a specific point in time

    See more

    Declaration

    Swift

    public struct MPIPosition : Codable, Equatable
  • This MPICoordinates represents specfic coordinates/location of an object.

    See more

    Declaration

    Swift

    public struct MPICoordinates : Codable, Equatable
  • (Deprecated) MPIBlueDot represents a blue dot.

    Warning

    MPIBlueDot is deprecated. Use MPIBlueDotPositionUpdate and MPIBlueDotStateChange instead.
    See more

    Declaration

    Swift

    @available(*, deprecated, message: "use MPIBlueDotPositionUpdate and MPIBlueDotStateChange")
    public struct MPIBlueDot : Codable
  • MPIBlueDotPositionUpdate gives the current position update of the blue dot.

    See more

    Declaration

    Swift

    public struct MPIBlueDotPositionUpdate : Codable
  • MPIBlueDotStateChange contains the reason for an unexpected blue dot state

    See more

    Declaration

    Swift

    public struct MPIBlueDotStateChange : Codable
  • MPIColor represents the brand color of a MPILocation

    See more

    Declaration

    Swift

    public struct MPIColor : Codable
  • MPIDestinationSet is list of MPINavigatable objects.

    See more

    Declaration

    Swift

    public struct MPIDestinationSet
  • MPIDirections contains paths and instructions to go from an MPINavigatable object to another MPINavigatable object

    See more

    Declaration

    Swift

    public struct MPIDirections : Codable
  • MPIInstruction represents a singular step or instruction of an MPIDirection

    See more

    Declaration

    Swift

    public struct MPIInstruction : Codable
  • MPIActionrepresents the action to be performed in a specific MPIInstruction

    See more

    Declaration

    Swift

    public struct MPIAction : Codable
  • MPIGalleryImage represents a gallery image of MPILocation

    See more

    Declaration

    Swift

    public struct MPIGalleryImage : Codable
  • Custom MPIHeaders can be used for requests when loading the venue

    See more

    Declaration

    Swift

    public struct MPIHeader : Codable
  • MPIImage represents the logo image of MPILocation

    See more

    Declaration

    Swift

    public struct MPIImage : Codable
  • MPILocation represents a specific area of interest such as a store location

    Note

    An MPILocation‘s MPINodes and MPIPolygons can be on multiple MPIMaps, or in multiple non-adjacent places on the same MPIMap. For example, all washrooms at a given venue could belong to one MPILocation. A washroom location might a have a few MPIPolygons 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 one MPIPolygon . Some Locations just have a single point with MPINodes.

    Note

    MPILocation has an ID and will be linked to [MPINode], [MPIPolygon].
    See more

    Declaration

    Swift

    public struct MPILocation : MPINavigatable
  • MPILocationState represents the state of MPILocation

    See more

    Declaration

    Swift

    public struct MPILocationState : Codable
  • MPINode represents a position, anchored to a specific MPIMap

    See more

    Declaration

    Swift

    public struct MPINode : MPINavigatable
  • MPIPathNode contains the id of the node and the id of the map of the adjacent nodes of the MPINode

    See more

    Declaration

    Swift

    public struct MPIPathNode : Codable
  • MPIOpeningHours has the opening hours of the MPILocations.

    See more

    Declaration

    Swift

    public struct MPIOpeningHours : Codable
  • MPIPhone represents the phone of an MPILocation.

    See more

    Declaration

    Swift

    public struct MPIPhone : Codable
  • MPIPicture represents the images that depict a specific MPILocation

    See more

    Declaration

    Swift

    public struct MPIPicture : Codable
  • MPIPolygon represents the geographical area covered by an MPILocation in a venue.

    See more

    Declaration

    Swift

    public struct MPIPolygon : MPINavigatable
  • MPIPolygonRanking represents the ranking of a MPIPolygon

    See more

    Declaration

    Swift

    public struct MPIPolygonRanking : Codable
  • MPIRankings represents the rankings data for a venue

    See more

    Declaration

    Swift

    public struct MPIRankings : Codable
  • MPISiblingGroup represents a group of related MPILocation

    See more

    Declaration

    Swift

    public struct MPISiblingGroup : Codable
  • MPISocial has different social media urls for an MPILocation.

    See more

    Declaration

    Swift

    public struct MPISocial : Codable
  • MPIVenueResponse contains a data string for a given venue.

    See more

    Declaration

    Swift

    public struct MPIVenueResponse : Codable
  • MPIVortex is a special entity that represents a link between two or more MPIMaps at a given venue.

    See more

    Declaration

    Swift

    public struct MPIVortex : MPINavigatable
  • MPIOptions holds the options to be set when different events are sent.

    See more

    Declaration

    Swift

    public struct MPIOptions : Codable