public class FuelConsumed extends BaseMeasurement<Liter>
Measurement.Listener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
mValue
Constructor and Description |
---|
FuelConsumed(Liter value) |
FuelConsumed(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 FuelConsumed(java.lang.Number value)
public FuelConsumed(Liter value)
public java.lang.String getGenericName()
getGenericName
in interface Measurement
getGenericName
in class BaseMeasurement<Liter>