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

Inherited methods

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Constants

AMPERE_HOURS

public static final int AMPERE_HOURS

Constant Value: 100 (0x00000064)

BAR

public static final int BAR

Constant Value: 114 (0x00000072)

CELSIUS

public static final int CELSIUS

Units used by VehiclePropertyIds#HVAC_TEMPERATURE_VALUE_SUGGESTION and VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS.

Constant Value: 48 (0x00000030)

FAHRENHEIT

public static final int FAHRENHEIT

Constant Value: 49 (0x00000031)

IMPERIAL_GALLON

public static final int IMPERIAL_GALLON

Constant Value: 67 (0x00000043)

KELVIN

public static final int KELVIN

Constant Value: 50 (0x00000032)

KILOMETER

public static final int KILOMETER

Constant Value: 35 (0x00000023)

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)

LITER

public static final int LITER

Constant Value: 65 (0x00000041)

METER

public static final int METER

Constant Value: 33 (0x00000021)

METER_PER_SEC

public static final int METER_PER_SEC

Units used by VehiclePropertyIds#VEHICLE_SPEED_DISPLAY_UNITS.

Constant Value: 1 (0x00000001)

MILE

public static final int MILE

Constant Value: 36 (0x00000024)

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)

PSI

public static final int PSI

Constant Value: 113 (0x00000071)

US_GALLON

public static final int US_GALLON

Constant Value: 66 (0x00000042)

WATT_HOUR

public static final int WATT_HOUR

Units used by VehiclePropertyIds#EV_BATTERY_DISPLAY_UNITS.

Constant Value: 96 (0x00000060)