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

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

fun hashCode(): Int

toString

fun toString(): String