SpeedData

class SpeedData

Defines the speed that needs to be formatted using PostedAndCurrentSpeedFormatter, fromUnit

Parameters

speed

can either be posted or current speed

fromUnit

should be meters/sec for current speed and kilometers/hour for posted speed

toUnit

Functions

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

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
open override fun toString(): String

Regenerate whenever a change is made

Properties

Link copied to clipboard
val fromUnit: SpeedUnit
Link copied to clipboard
val speed: Double
Link copied to clipboard
val toUnit: UnitType