SpeedLimit

open class SpeedLimit : RouteEventNotificationsSettings

Enables to change some speedlimit settings.

Functions

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