Package com.mappedin.sdk.models

Types

MPIActionType
Link copied to clipboard
enum MPIActionType : Enum<MPIActionType>
Possible action types of a specific MPIDirections.MPIInstruction
MPIBearingType
Link copied to clipboard
enum MPIBearingType : Enum<MPIBearingType>
Possible bearing types when the action of a MPIDirections.MPIInstruction is MPIActionType.TURN
MPIBlueDot
Link copied to clipboard
class MPIBlueDot(position: MPIPosition, _map: String, _nearestNode: String)
MPIBlueDot represents a blue dot.
MPIBlueDotPositionUpdate
Link copied to clipboard
class MPIBlueDotPositionUpdate(position: MPIPosition, _map: String, _nearestNode: String, bearing: Double?)
MPIBlueDotPositionUpdate gives the current position update of the blue dot.
MPIBlueDotState
Link copied to clipboard
enum MPIBlueDotState : Enum<MPIBlueDotState>
MPIBlueDotState represents what we currently know about the user's position, and how confident we are.
MPIBlueDotStateChange
Link copied to clipboard
class MPIBlueDotStateChange(internalName: Int, internalMarkerVisibility: Int?, internalReason: Int?, message: String?)
MPIBlueDotStateChange contains the reason for an unexpected blue dot state change
MPIBlueDotStateReason
Link copied to clipboard
enum MPIBlueDotStateReason : Enum<MPIBlueDotStateReason>
MPIBlueDotStateReason contains the reason for an unexpected blue dot state
MPIColor
Link copied to clipboard
data class MPIColor(hex: String, opacity: Double, rgba: String)
MPIColor represents the brand color of a MPINavigatable.MPILocation
MPIData
Link copied to clipboard
class MPIData(maps: List<MPIMap>, polygons: List<MPINavigatable.MPIPolygon>, locations: List<MPINavigatable.MPILocation>, nodes: List<MPINavigatable.MPINode>, vortexes: List<MPINavigatable.MPIVortex>, mapGroups: List<MPIMapGroup>, rankings: MPIRankings?)
MPIData represents the data received when loading a specific venue.
MPIDestinationSet
Link copied to clipboard
data class MPIDestinationSet(destinations: List<MPINavigatable>)
MPIDestinationSet is list of MPINavigatable objects.
MPIDirections
Link copied to clipboard
data class MPIDirections(distance: Double, path: List<MPINavigatable.MPINode>, instructions: List<MPIDirections.MPIInstruction>)
MPIDirections contains paths and instructions to go from a MPINavigatable object to another MPINavigatable object
MPIGalleryImage
Link copied to clipboard
data class MPIGalleryImage(image: MPIImage, caption: String?)
MPIGalleryImage represents a gallery image of MPINavigatable.MPILocation
MPIHeader
Link copied to clipboard
data class MPIHeader(name: String, value: String)
Custom MPIHeaders can be used for requests when loading the venue
MPIImage
Link copied to clipboard
data class MPIImage(original: String?, large: String?, dimension140x140: String?, dimension66x66: String?, xxlarge: String?, xsmall: String?, xlarge: String?, medium: String?, xxsmall: String?, small: String?)
MPIImage represents the logo image of MPINavigatable.MPILocation
MPILocationState
Link copied to clipboard
data class MPILocationState(type: String, start: String?, end: String?)
MPIMap
Link copied to clipboard
data class MPIMap(id: String, name: String, shortName: String, elevation: Double?, scale: Double?, x_scale: Double?, _group: String)
MPIMaps represents one of the maps associated with a venue.
MPIMapGroup
Link copied to clipboard
data class MPIMapGroup(id: String, name: String, maps: MutableList<MPIMap>)
MPIMapGroup represents a collection of maps (different floors of a single building).
MPIMarkerState
Link copied to clipboard
enum MPIMarkerState : Enum<MPIMarkerState>
MPIMarkerState represents the current state of the blue dot marker
MPINavigatable
Link copied to clipboard
sealed class MPINavigatable
MPIOpeningHours
Link copied to clipboard
data class MPIOpeningHours(type: String, opens: String, closes: String, dayOfWeek: List<String>)
MPIOpeningHours has the opening hours of the MPINavigatable.MPILocations.
MPIPathNode
Link copied to clipboard
data class MPIPathNode(node: String, map: String)
MPIPathNode contains the id of the node and the id of the map of the adjacent nodes of the MPINavigatable.MPINode
MPIPhone
Link copied to clipboard
data class MPIPhone(number: String?)
MPIPhone represents the phone of a MPINavigatable.MPILocation.
MPIPicture
Link copied to clipboard
data class MPIPicture(original: String?)
MPIPicture represents the images that depict a specific MPINavigatable.MPILocation
MPIPolygonRanking
Link copied to clipboard
data class MPIPolygonRanking(polygonId: String, entranceNodeId: String?, score: Double)
MPIPolygonRanking represents the ranking of a MPINavigatable.MPIPolygon.
MPIPosition
Link copied to clipboard
data class MPIPosition(timestamp: Double?, coords: MPIPosition.MPICoordinates?, type: String, annotation: String?)
MPIPosition represents the geolocation of an object at a specific point in time
MPIRankings
Link copied to clipboard
data class MPIRankings(polygons: List<MPIPolygonRanking>)
MPIRankings represents the rankings data for a venue
MPISiblingGroup
Link copied to clipboard
data class MPISiblingGroup(label: String, siblings: List<String>)
MPISiblingGroup represents a group of related MPINavigatable.MPILocation
MPISocial
Link copied to clipboard
data class MPISocial(website: String?, twitter: String?, facebook: String?, instagram: String?)
MPISocial has different social media urls for a MPINavigatable.MPILocation.
MPIState
Link copied to clipboard
enum MPIState : Enum<MPIState>
MPIState represents the state of a MPIMap.
MPITinyCoordinate
Link copied to clipboard
data class MPITinyCoordinate(type: String?, mapId: String, lat: Double, lon: Double)
MPITinyCoordinate contains the mapId, type, lat & lon of a MPICoordinate object
MPITinyObject
Link copied to clipboard
data class MPITinyObject(id: String, type: String?)
MPITinyObject contains the id and type of a MPINavigatable object
MPIVenueResponse
Link copied to clipboard
data class MPIVenueResponse(data: String)
MPIVenueResponse contains a data string for a given venue.