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