LocationContext

fun LocationContext(speedLimit: SpeedLimit, streetName: String, city: String, country: String, countryCode: String, isTunnel: Boolean, isUnderpass: Boolean, functionalRoadClass: Int, speed: Speed? = null, extras: String? = null, roadType: TypeOfRoad? = null, isLeftHandDriving: Boolean? = null)

Parameters

speedLimit

The speed limit.

streetName

The street name.

city

The city.

country

The country.

countryCode

The 3-character ISO 3166-1 alpha-3 country code.

isTunnel

Indicates if location is in tunnel.

isUnderpass

Indicates if location is in underpass.

functionalRoadClass

The functional road class.

speed

The current speed or null if not known.

extras

The additional custom data.

roadType

The type of the current road.

isLeftHandDriving

Indicates the driving side on the given road.