LocationContext
data class LocationContext(val speed: Speed?, val speedLimit: SpeedLimit, val road: LocationContext.Road, val address: Address? = null)
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 at the current location.
address
The current address if available.
Constructors
Link copied to clipboard
constructor(speed: Speed?, speedLimit: SpeedLimit, road: LocationContext.Road, address: Address? = null)
Types
Link copied to clipboard
data class Road(val functionalRoadClass: Int, val isUnderpass: Boolean = false, val roadType: TypeOfRoad? = null, val drivingSide: DrivingSide? = null, val isTunnel: Boolean = false, val tunnelName: String? = null, val isBridge: Boolean = false, val bridgeName: String? = null)
Provides detailed information about the road.