SpeedLimit

open class SpeedLimit : RouteEventNotificationsSettings

Enables to change some speedlimit settings.

Functions

getNextSpeedLimitDistance
Link copied to clipboard
open fun getNextSpeedLimitDistance(): Int
Returns next speed limit search distance ahead of vehicle.
getNextSpeedLimitDistanceInCity
Link copied to clipboard
open fun getNextSpeedLimitDistanceInCity(): Int
Returns next speed limit search distance ahead of vehicle.
getSpeedLimitDiff
Link copied to clipboard
open fun getSpeedLimitDiff(): Int
Returns the value of speed above speed limit when the notification is triggered.
getSpeedLimitDiffInCity
Link copied to clipboard
open fun getSpeedLimitDiffInCity(): Int
Returns the value of speed above speed limit when the notification is triggered.
resetToDefault
Link copied to clipboard
open fun resetToDefault()
Resets all settings to default.
setNextSpeedLimitDistance
Link copied to clipboard
open fun setNextSpeedLimitDistance(distance: Int)
Sets next speed limit search distance ahead of vehicle.
setNextSpeedLimitDistanceInCity
Link copied to clipboard
open fun setNextSpeedLimitDistanceInCity(distance: Int)
Sets next speed limit search distance ahead of vehicle.
setSpeedLimitDiff
Link copied to clipboard
open fun setSpeedLimitDiff(speed: Int)
Sets the value of speed above speed limit when the notification is triggered.
setSpeedLimitDiffInCity
Link copied to clipboard
open fun setSpeedLimitDiffInCity(speed: Int)
Sets the value of speed above speed limit when the notification is triggered.