public class Odometer extends BaseMeasurement<Kilometer>
Measurement.Listener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
mValue
Constructor and Description |
---|
Odometer(Kilometer value) |
Odometer(java.lang.Number value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGenericName() |
equals, getAge, getBirthtime, getClassForId, getKeyForMeasurement, getMeasurementFromMessage, getMeasurementFromMessage, getName, getRange, getSerializedValue, getValue, hasRange, setTimestamp, toString, toVehicleMessage
public static final java.lang.String ID
public Odometer(java.lang.Number value)
public Odometer(Kilometer value)
public java.lang.String getGenericName()
getGenericName
in interface Measurement
getGenericName
in class BaseMeasurement<Kilometer>