Mileage

@CarProtocol
@RequiresCarApi(value = 3)
class Mileage


Information about car mileage.

Summary

Nested types

A builder of Mileage.

Public functions

Boolean
equals(other: Any?)
CarValue<Int!>

Returns the distance display unit from the car hardware.

CarValue<Float!>

Returns the value of the odometer from the car hardware in meters.

Int
String

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getDistanceDisplayUnit

Added in 1.1.0
fun getDistanceDisplayUnit(): CarValue<Int!>

Returns the distance display unit from the car hardware.

See CarUnit for possible distance values.

getOdometerMeters

Added in 1.1.0
fun getOdometerMeters(): CarValue<Float!>

Returns the value of the odometer from the car hardware in meters.

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

toString

Added in 1.4.0-rc02
fun toString(): String