Speed Limit Info
Class containing information about speed limit. This class is passed as parameter in com.sygic.sdk.navigation.NavigationManager.OnSpeedLimitListener listener.
Types
Condition Speed
Link copied to clipboard
data class ConditionSpeed(condition: SpeedLimitInfo.ConditionSpeed.Condition, speed: Float, countrySpeedUnits: SpeedLimitInfo.SpeedUnits) : Parcelable
Content copied to clipboard
Class containing special conditions
Speed Units
Link copied to clipboard
Functions
describe Contents
Link copied to clipboard
get Current Speed
Link copied to clipboard
Returns current speed of vehicle.
get Next Speed Limit
Link copied to clipboard
fun getNextSpeedLimit(requiredSpeedUnits: SpeedLimitInfo.SpeedUnits): Int
Content copied to clipboard
Returns speed limit value, which will be next on the route.
get Speed Limit
Link copied to clipboard
Returns the speed limit on route where is vehicle. When return value is 0, there is no information about speed limit.
is In Municipality
Link copied to clipboard
Returns if current speed limit (and also vehicle) is in city
write To Parcel
Link copied to clipboard
Properties
conditionSpeeds
Link copied to clipboard
array of special conditions relative to current speed limit. Special condition can be for example snow, rain, time restrictions, ConditionSpeed
countrySignage
Link copied to clipboard
countrySpeedUnits
Link copied to clipboard
speed limit units for given country SpeedUnits
currentSpeed
Link copied to clipboard
inMunicipality
Link copied to clipboard
nextSpeedLimit
Link copied to clipboard
nextSpeedLimitDistance
Link copied to clipboard
nextSpeedLimitPosition
Link copied to clipboard
speedLimit
Link copied to clipboard