VehicleUnit
public
final
class
VehicleUnit
extends Object
java.lang.Object | |
↳ | android.car.VehicleUnit |
Units used for int or float VehiclePropertyIds
with no attached enum types.
Summary
Constants | |
---|---|
int |
AMPERE_HOURS
|
int |
BAR
|
int |
CELSIUS
Units used by |
int |
FAHRENHEIT
|
int |
IMPERIAL_GALLON
|
int |
KELVIN
|
int |
KILOMETER
|
int |
KILOMETERS_PER_HOUR
|
int |
KILOPASCAL
Units used by |
int |
KILOWATT_HOUR
|
int |
LITER
|
int |
METER
|
int |
METER_PER_SEC
Units used by |
int |
MILE
|
int |
MILES_PER_HOUR
|
int |
MILLILITER
Units used by |
int |
MILLIMETER
Units used by |
int |
PSI
|
int |
US_GALLON
|
int |
WATT_HOUR
Units used by |
Inherited methods | |
---|---|
Constants
AMPERE_HOURS
public static final int AMPERE_HOURS
Constant Value: 100 (0x00000064)
CELSIUS
public static final int CELSIUS
Units used by VehiclePropertyIds#HVAC_TEMPERATURE_VALUE_SUGGESTION
and VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS
.
Constant Value: 48 (0x00000030)
IMPERIAL_GALLON
public static final int IMPERIAL_GALLON
Constant Value: 67 (0x00000043)
KILOMETERS_PER_HOUR
public static final int KILOMETERS_PER_HOUR
Constant Value: 145 (0x00000091)
KILOPASCAL
public static final int KILOPASCAL
Units used by VehiclePropertyIds#TIRE_PRESSURE_DISPLAY_UNITS
.
Constant Value: 112 (0x00000070)
KILOWATT_HOUR
public static final int KILOWATT_HOUR
Constant Value: 101 (0x00000065)
METER_PER_SEC
public static final int METER_PER_SEC
Units used by VehiclePropertyIds#VEHICLE_SPEED_DISPLAY_UNITS
.
Constant Value: 1 (0x00000001)
MILES_PER_HOUR
public static final int MILES_PER_HOUR
Constant Value: 144 (0x00000090)
MILLILITER
public static final int MILLILITER
Units used by VehiclePropertyIds#FUEL_VOLUME_DISPLAY_UNITS
.
Constant Value: 64 (0x00000040)
MILLIMETER
public static final int MILLIMETER
Units used by VehiclePropertyIds#DISTANCE_DISPLAY_UNITS
.
Constant Value: 32 (0x00000020)
WATT_HOUR
public static final int WATT_HOUR
Units used by VehiclePropertyIds#EV_BATTERY_DISPLAY_UNITS
.
Constant Value: 96 (0x00000060)