SpeedLimitInfo

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
object Companion
Link copied to clipboard
data class ConditionSpeed(val condition: SpeedLimitInfo.ConditionSpeed.Condition, val speed: Float, val countrySpeedUnits: SpeedLimitInfo.SpeedUnits) : Parcelable

Class containing special conditions

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

info about speed limit signage based on country. Currently are supported onl 2 values - World and America

Link copied to clipboard

speed limit units for given country SpeedUnits

Link copied to clipboard

current vehicle speed in kph

Link copied to clipboard

if current speed limit (and also vehicle) is in city

Link copied to clipboard

next speed limit after current in kph

Link copied to clipboard

the distance to the next speed limit in meters

Link copied to clipboard

current speed limit in kph

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Returns current speed of vehicle.

Link copied to clipboard

Returns speed limit value, which will be next on the route.

Link copied to clipboard
fun getSpeedLimit(requiredSpeedUnits: SpeedLimitInfo.SpeedUnits): Int

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
open override fun hashCode(): Int
Link copied to clipboard

Returns if current speed limit (and also vehicle) is in city

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)