Speed Limit Info
Class containing information about speed limit. This class is passed as parameter in com.sygic.sdk.navigation.NavigationManager.OnSpeedLimitListener listener.
Types
Link copied to clipboard
data class ConditionSpeed( val condition: SpeedLimitInfo.ConditionSpeed.Condition, val speed: Float, val countrySpeedUnits: SpeedLimitInfo.SpeedUnits) : Parcelable
Content copied to clipboard
Class containing special conditions
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Returns current speed of vehicle.
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.
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.
Link copied to clipboard
Returns if current speed limit (and also vehicle) is in city
Link copied to clipboard
Properties
Link copied to clipboard
array of special conditions relative to current speed limit. Special condition can be for example snow, rain, time restrictions, ConditionSpeed
Link copied to clipboard
speed limit units for given country SpeedUnits
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard