LocationContext
data class LocationContext(val speed: Speed?, val speedLimit: SpeedLimit, val road: LocationContext.Road, val address: LocationContext.Address)
Provides detailed information about a current location on the road.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
speed
The current speed or null if not known.
speedLimit
The speed limit.
address
Constructors
Link copied to clipboard
constructor(speed: Speed?, speedLimit: SpeedLimit, road: LocationContext.Road, address: LocationContext.Address)
Types
Link copied to clipboard
data class Road(val functionalRoadClass: Int, val isTunnel: Boolean, val isUnderpass: Boolean, val roadType: TypeOfRoad? = null, val isLeftHandDriving: Boolean? = null, val isBridge: Boolean = false, val tunnelName: String? = null, val bridgeName: String? = null)
Provides detailed information about the road.