ConditionSpeed

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

Class containing special conditions

Constructors

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

Types

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

Functions

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

Properties

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

special Condition

countrySpeedUnits
Link copied to clipboard
val countrySpeedUnits: SpeedLimitInfo.SpeedUnits

speed limit units for given country SpeedUnits

speed
Link copied to clipboard
val speed: Float

speed limit for given condition in kph