Package com.visioglobe.visiomoveessential.models

Models are simple abstract data types that allow information to be passed back and forth between VisioMoveEssential and the integrator.

Types

Link copied to clipboard
@Serializable
data class VMEBuildingInfo(id: String, name: String, shortName: String, description: String, floors: List<VMEFloorInfo>, defaultFloorId: String, groundFloorId: String, displayIndex: Int)
Link copied to clipboard
data class VMECameraContext(target: VMELatLng, altitude: Double, radius: Double, pitch: Double, bearing: Double)

An immutable class that aggregates all camera context such as target, altitude, bearing, pitch, and radius.

Link copied to clipboard
open class VMECameraDistanceRange

VMECameraDistanceRange represents a distance element that may be associated with a VMECameraUpdate object.

Link copied to clipboard
open class VMECameraHeading

VMECameraHeading represents a heading element that may be associated with a VMECameraUpdate object.

Link copied to clipboard
open class VMECameraPitch

VMECameraPitch represents a pitch element that may be associated with a VMECameraUpdate object.

Link copied to clipboard
data class VMECameraUpdate(builder: VMECameraUpdateBuilder)

Represents a camera update that can be applied to the VMEMapView.

Link copied to clipboard
class VMECameraUpdateBuilder

Used to build a VMECameraUpdate object.

Link copied to clipboard
@Serializable
data class VMECategories(categories: Map<String, VMECategory>)

Represents a map of VMECategory associated with there id

Link copied to clipboard
@Serializable
data class VMECategory(id: String, name: String, icon: String)

Represents a category that can be associated with a poi.

Link copied to clipboard
@Serializable
data class VMEFloorInfo(id: String, name: String, shortName: String, description: String, levelIndex: Int, connectedFloorsId: List<String>)
Link copied to clipboard
data class VMEIcon(@DrawableRes resId: Int, useTheme: Boolean)

Used to update icons

Link copied to clipboard
class VMEInstruction(mText: String, mIconResource: Int)
Link copied to clipboard
data class VMELatLng(latitude: Double, longitude: Double)

An immutable class representing a pair of latitude and longitude coordinates, stored as degrees.

Link copied to clipboard
class VMELocation(position: VMEPosition, bearing: Double, accuracy: Double)

VMELocation object incorporates the position within the map as well as values indicating the accuracy of the measurements and the bearing in which the location is moving.

Link copied to clipboard
class VMEMapDescriptor

The map descriptor object contains information related to it's associated map bundle.

Link copied to clipboard
open class VMEPoi(id: String, data: String?)

Represents a physical POI within the map

Link copied to clipboard
class VMEPoiFilter

An object that defines the criteria for performing a poi query.

Link copied to clipboard
open class VMEPoiOrientation

A class cluster for creating a poi orientation object.

Link copied to clipboard
class VMEPoiSize

An object that determines the size of the poi within the map

Link copied to clipboard
class VMEPoiVisibilityRamp

An object that controls the poi's visibility as a function of the camera's altitude.

Link copied to clipboard
class VMEPosition(latitude: Double, longitude: Double, altitude: Double, scene: VMESceneContext)

A VMEPosition object represents a position incorporating the geographical coordinates, altitude and associated building and floor.

Link copied to clipboard
class VMERouteRequest(requestType: VMERouteRequestType, routeDestinationOrder: VMERouteDestinationsOrder, isAccessible: Boolean, animateAllRoute: Boolean, distanceThreshold: Double)

Represents an instance of route request

Link copied to clipboard
data class VMERouteResult(destinations: <ERROR CLASS><Any>, duration: Double, length: Double, segments: <ERROR CLASS><VMESegment>)

Contains information related to a computed route.

Link copied to clipboard
class VMESceneContext

A VMESceneContext object represents a physical location within the map. The scene context may be either outside or within a building.

Link copied to clipboard
open class VMESceneUpdate : Serializable

Represents a scene update that can be applied to the VMEMapView.

Link copied to clipboard
class VMESegment(duration: Double, length: Double, maneuverType: VMEManeuverType, floorTransitionType: VMEFloorTransitionType, floorTransitionId: String, mPath: MutableList<VMEPosition>)

A segment describes a part of a computed route.

Link copied to clipboard
object VMEThemeConstant
Link copied to clipboard
@Serializable
data class VMEVenueInfo(mapName: String, mapShortName: String, defaultBuildingId: String, globalLayerName: String, buildings: List<VMEBuildingInfo>)

This class holds the information about a venue.

Functions

Link copied to clipboard
fun VMEVenueInfo.toJsonObject(): JSONObject

Utility method to convert VMEVenueInfo to a JSONObject prefer the use of kotlinx.serialization. keep only to compatibility