Package com.tomtom.sdk.navigation.locationcontext

Types

Link copied to clipboard
data class Limited(val inMetersPerSecond: Double) : SpeedLimit

Speed is limited.

Link copied to clipboard
data class LocationContext(    val speedLimit: SpeedLimit,     val streetName: String,     val city: String,     val country: String,     val countryCode: String,     val isTunnel: Boolean,     val isUnderpass: Boolean,     val functionalRoadClass: Int,     val speedInMetersPerSecond: Double? = null,     val extras: String? = null,     val roadType: TypeOfRoad? = null,     val isLeftHandDriving: Boolean? = null)

Provides detailed information about a current location on the road.

Link copied to clipboard
interface LocationContextProviderEngine : Disposable

Responsible for extraction of detailed information about a current location on the road (e.g. Speed limit).

Link copied to clipboard
interface SpeedLimit

Specify speed limit.

Link copied to clipboard

LocationContextProviderEngine implementation responsible for extraction of detailed information about a current location from previously matched location.

Link copied to clipboard
value class TypeOfRoad

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard
object Unknown : SpeedLimit

Speed limit is unknown.

Link copied to clipboard
object Unlimited : SpeedLimit

Speed is unlimited (there is no maximum speed).