LocationContext
class LocationContext(val speed: Speed?, val speedLimit: SpeedLimit? = null, val road: RoadProperties? = null, 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.
Constructors
Link copied to clipboard
constructor(speed: Speed?, speedLimit: SpeedLimit? = null, road: RoadProperties? = null, address: Address? = null)
Functions
Properties
Link copied to clipboard
The properties of the road at the current location , or null if the current location is off-road.
Link copied to clipboard
The speed limit at the current location, or null if the current location is off-road or speed limit on road is not available.