SpeedLimitInfo
Class containing information about speed limit. This class is passed as parameter in com.sygic.sdk.navigation.NavigationManager.OnSpeedLimitListener listener.
Types
ConditionSpeed
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
SpeedUnits
Link copied to clipboard
Functions
describeContents
Link copied to clipboard
getCurrentSpeed
Link copied to clipboard
Returns current speed of vehicle.
getNextSpeedLimit
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.
getSpeedLimit
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.
isInMunicipality
Link copied to clipboard
Returns if current speed limit (and also vehicle) is in city
writeToParcel
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