ConditionSpeed

data class ConditionSpeed(    val condition: SpeedLimitInfo.ConditionSpeed.Condition,     val speed: Float,     val countrySpeedUnits: SpeedLimitInfo.SpeedUnits) : Parcelable

Class containing special conditions

Constructors

Link copied to clipboard
fun ConditionSpeed(    condition: SpeedLimitInfo.ConditionSpeed.Condition,     speed: Float,     countrySpeedUnits: SpeedLimitInfo.SpeedUnits)

Types

Link copied to clipboard
enum Condition : Enum<SpeedLimitInfo.ConditionSpeed.Condition>

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun getSpeed(requiredSpeedUnits: SpeedLimitInfo.SpeedUnits): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val condition: SpeedLimitInfo.ConditionSpeed.Condition

special Condition

Link copied to clipboard
val countrySpeedUnits: SpeedLimitInfo.SpeedUnits

speed limit units for given country SpeedUnits

Link copied to clipboard
val speed: Float

speed limit for given condition in kph