LocationContext

data class LocationContext(val speed: <Error class: unknown class>?, 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.

Constructors

Link copied to clipboard
constructor(speed: <Error class: unknown class>?, speedLimit: SpeedLimit, road: LocationContext.Road, address: LocationContext.Address)

Types

Link copied to clipboard
data class Address(val streetName: String, val city: String, val countryCode: String, val countryName: String)

Provides detailed information about address for the current location.

Link copied to clipboard
data class Road(val functionalRoadClass: Int, val isTunnel: Boolean, val isUnderpass: Boolean, val roadType: TypeOfRoad? = null, val isLeftHandDriving: Boolean? = null)

Provides detailed information about the road.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val speed: <Error class: unknown class>?
Link copied to clipboard