VehiclePropertyIds
public
final
class
VehiclePropertyIds
extends Object
java.lang.Object | |
↳ | android.car.VehiclePropertyIds |
List of vehicle property IDs.
Property IDs are used with the CarPropertyManager
APIs
(e.g. CarPropertyManager.getProperty(int, int)
or CarPropertyManager.setProperty(Class, int, int, Object)
).
Summary
Constants | |
---|---|
int |
ABS_ACTIVE
ABS is active The property is protected by the signature permission: android.car.permission.CAR_DYNAMICS_STATE. |
int |
AP_POWER_BOOTUP_REASON
Property to report bootup reason for the current power on. |
int |
AP_POWER_STATE_REPORT
Property to report power state of application processor It is assumed that AP's power state is controller by separate power controller. |
int |
AP_POWER_STATE_REQ
Property to control power state of application processor It is assumed that AP's power state is controller by separate power controller. |
int |
CABIN_LIGHTS_STATE
Cabin lights
Requires permission: |
int |
CABIN_LIGHTS_SWITCH
Cabin lights switch
Requires permission: |
int |
CRITICALLY_LOW_TIRE_PRESSURE
Critically low tire pressure This property indicates the critically low pressure threshold for each tire. |
int |
CURRENT_GEAR
Vehicle transmission's current |
int |
DISPLAY_BRIGHTNESS
Property to represent brightness of the display. |
int |
DISTANCE_DISPLAY_UNITS
Distance units for display. |
int |
DOOR_LOCK
Door lock The property is protected by the signature permission: android.car.permission.CONTROL_CAR_DOORS. |
int |
DOOR_MOVE
Door move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_DOORS. |
int |
DOOR_POS
Door position This is an integer in case a door may be set to a particular position. |
int |
ELECTRONIC_TOLL_COLLECTION_CARD_STATUS
Electronic Toll Collection card status. |
int |
ELECTRONIC_TOLL_COLLECTION_CARD_TYPE
Electronic Toll Collection card type. |
int |
ENGINE_COOLANT_TEMP
Temperature of engine coolant in celsius. |
int |
ENGINE_OIL_LEVEL
Engine oil level The property is protected by the signature permission: android.car.permission.CAR_ENGINE_DETAILED. |
int |
ENGINE_OIL_TEMP
Temperature of engine oil in celsius. |
int |
ENGINE_RPM
Engine rpm The property is protected by the signature permission: android.car.permission.CAR_ENGINE_DETAILED. |
int |
ENV_OUTSIDE_TEMPERATURE
Outside temperature in celsius. |
int |
EPOCH_TIME
Current date and time, encoded as Unix time. |
int |
EV_BATTERY_DISPLAY_UNITS
EV battery units for display. |
int |
EV_BATTERY_INSTANTANEOUS_CHARGE_RATE
EV instantaneous charge rate in milliwatts. |
int |
EV_BATTERY_LEVEL
EV battery level in watt-hours (Wh), if EV or hybrid. |
int |
EV_CHARGE_PORT_CONNECTED
EV charge port connected. |
int |
EV_CHARGE_PORT_OPEN
EV charge port open. |
int |
FOG_LIGHTS_STATE
Fog light state The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
FOG_LIGHTS_SWITCH
Fog light switch The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME
Fuel consumption units for display. |
int |
FUEL_DOOR_OPEN
Fuel door open. |
int |
FUEL_LEVEL
Fuel remaining in the vehicle in milliliters. |
int |
FUEL_LEVEL_LOW
Warning for fuel low level. |
int |
FUEL_VOLUME_DISPLAY_UNITS
Fuel volume units for display. |
int |
GEAR_SELECTION
Currently selected gear by user. |
int |
HAZARD_LIGHTS_STATE
Hazard light status The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HAZARD_LIGHTS_SWITCH
Hazard light switch The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HEADLIGHTS_STATE
Headlights State The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HEADLIGHTS_SWITCH
Headlight switch The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HIGH_BEAM_LIGHTS_STATE
High beam lights state The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HIGH_BEAM_LIGHTS_SWITCH
High beam light switch The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS. |
int |
HVAC_ACTUAL_FAN_SPEED_RPM
Actual fan speed The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_AC_ON
On/off AC for designated areaId The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_AUTO_ON
On/off automatic mode The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_AUTO_RECIRC_ON
Automatic recirculation on/off The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_DEFROSTER
On/off defrost for designated window The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_DUAL_ON
Enable temperature coupling between areas. |
int |
HVAC_FAN_DIRECTION
Fan direction setting The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_FAN_DIRECTION_AVAILABLE
Fan Positions Available The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_FAN_SPEED
Fan speed setting The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_MAX_AC_ON
On/off max AC The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_MAX_DEFROST_ON
On/off max defrost The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_POWER_ON
Represents global power state for HVAC. |
int |
HVAC_RECIRC_ON
Recirculation on/off The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_SEAT_TEMPERATURE
Seat heating/cooling The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_SEAT_VENTILATION
Seat ventilation The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_SIDE_MIRROR_HEAT
Side Mirror Heat The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_STEERING_WHEEL_HEAT
Steering Wheel Heating/Cooling The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_TEMPERATURE_CURRENT
HVAC current temperature in celsius. |
int |
HVAC_TEMPERATURE_DISPLAY_UNITS
Temperature units for display The property is protected by the signature permission: android.car.permission.CONTROL_CAR_CLIMATE. |
int |
HVAC_TEMPERATURE_SET
HVAC, target temperature set. |
int |
HVAC_TEMPERATURE_VALUE_SUGGESTION
Suggested values for setting HVAC temperature. |
int |
HW_KEY_INPUT
Property to feed H/W input events to android |
int |
IGNITION_STATE
Vehicle's ignition state. |
int |
INFO_DRIVER_SEAT
Driver's |
int |
INFO_EV_BATTERY_CAPACITY
Battery capacity of the vehicle in watt-hours (Wh), if EV or hybrid. |
int |
INFO_EV_CONNECTOR_TYPE
List of |
int |
INFO_EV_PORT_LOCATION
Requires permission: |
int |
INFO_EXTERIOR_DIMENSIONS
Vehicle's exterior dimensions in millimeters. |
int |
INFO_FUEL_CAPACITY
Fuel capacity of the vehicle in milliliters. |
int |
INFO_FUEL_DOOR_LOCATION
|
int |
INFO_FUEL_TYPE
List the |
int |
INFO_MAKE
Manufacturer of vehicle. |
int |
INFO_MODEL
Model of vehicle. |
int |
INFO_MODEL_YEAR
Model year of vehicle. |
int |
INFO_MULTI_EV_PORT_LOCATIONS
List |
int |
INFO_VIN
VIN of vehicle
Requires permission: |
int |
INVALID
Undefined property. |
int |
MIRROR_FOLD
Mirror Fold The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
MIRROR_LOCK
Mirror Lock The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
MIRROR_Y_MOVE
Mirror Y Move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
MIRROR_Y_POS
Mirror Y Position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
MIRROR_Z_MOVE
Mirror Z Move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
MIRROR_Z_POS
Mirror Z Position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_MIRRORS. |
int |
NIGHT_MODE
Night mode. |
int |
OBD2_FREEZE_FRAME
OBD2 Freeze Frame Sensor Data Reports a snapshot of the value of the OBD2 sensors available at the time that a fault occurred and was detected. |
int |
OBD2_FREEZE_FRAME_CLEAR
OBD2 Freeze Frame Clear This property allows deletion of any of the freeze frames stored in vehicle memory, as described by OBD2_FREEZE_FRAME_INFO. |
int |
OBD2_FREEZE_FRAME_INFO
OBD2 Freeze Frame Information The property is protected by the signature permission: android.car.permission.CAR_DIAGNOSTICS. |
int |
OBD2_LIVE_FRAME
OBD2 Live Sensor Data Reports a snapshot of the current (live) values of the OBD2 sensors available. |
int |
PARKING_BRAKE_AUTO_APPLY
Auto-apply parking brake. |
int |
PARKING_BRAKE_ON
Parking brake state. |
int |
PERF_ODOMETER
Current odometer value of the vehicle in kilometers. |
int |
PERF_REAR_STEERING_ANGLE
Rear bicycle model steering angle for vehicle in degrees. |
int |
PERF_STEERING_ANGLE
Front bicycle model steering angle for vehicle in degrees. |
int |
PERF_VEHICLE_SPEED
Speed of the vehicle in meters per second. |
int |
PERF_VEHICLE_SPEED_DISPLAY
Speed of the vehicle in meters per second for displays. |
int |
RANGE_REMAINING
Range remaining in meters. |
int |
READING_LIGHTS_STATE
Reading lights
Requires permission: |
int |
READING_LIGHTS_SWITCH
Reading lights switch
Requires permission: |
int |
SEAT_BACKREST_ANGLE_1_MOVE
Seat backrest angle 1 move Moves the backrest forward or recline. |
int |
SEAT_BACKREST_ANGLE_1_POS
Seat backrest angle 1 position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_BACKREST_ANGLE_2_MOVE
Seat backrest angle 2 move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_BACKREST_ANGLE_2_POS
Seat backrest angle 2 position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_BELT_BUCKLED
Seatbelt buckled True indicates belt is buckled. |
int |
SEAT_BELT_HEIGHT_MOVE
Seatbelt height move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_BELT_HEIGHT_POS
Seatbelt height position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_DEPTH_MOVE
Seat depth move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_DEPTH_POS
Seat depth position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_FORE_AFT_MOVE
Seat fore/aft move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_FORE_AFT_POS
Seat fore/aft position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_ANGLE_MOVE
Headrest angle move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_ANGLE_POS
Headrest angle position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_FORE_AFT_MOVE
Headrest fore/aft move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_FORE_AFT_POS
Headrest fore/aft position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_HEIGHT_MOVE
Headrest height move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEADREST_HEIGHT_POS
Headrest height position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEIGHT_MOVE
Seat height move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_HEIGHT_POS
Seat height position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_LUMBAR_FORE_AFT_MOVE
Lumbar fore/aft move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_LUMBAR_FORE_AFT_POS
Lumber fore/aft position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_LUMBAR_SIDE_SUPPORT_MOVE
Lumbar side support move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_LUMBAR_SIDE_SUPPORT_POS
Lumbar side support position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_MEMORY_SELECT
Seat memory select This parameter selects the memory preset to use to select the seat position. |
int |
SEAT_MEMORY_SET
Seat memory set This setting allows the user to save the current seat position settings into the selected preset slot. |
int |
SEAT_OCCUPANCY
Seat Occupancy The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_TILT_MOVE
Seat tilt move The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
SEAT_TILT_POS
Seat tilt position The property is protected by the signature permission: android.car.permission.CONTROL_CAR_SEATS. |
int |
STORAGE_ENCRYPTION_BINDING_SEED
External encryption binding seed. |
int |
TIRE_PRESSURE
Tire pressure in kilopascals. |
int |
TIRE_PRESSURE_DISPLAY_UNITS
Tire pressure units for display. |
int |
TRACTION_CONTROL_ACTIVE
Traction Control is active The property is protected by the signature permission: android.car.permission.CAR_DYNAMICS_STATE. |
int |
TURN_SIGNAL_STATE
State of the vehicles turn signals The property is protected by the signature permission: android.car.permission.CAR_EXTERIOR_LIGHTS . |
int |
VEHICLE_MAP_SERVICE
Vehicle Maps Service (VMS) message The property is protected by the signature permissions: android.car.permission.VMS_PUBLISHER and android.car.permission.VMS_SUBSCRIBER. |
int |
WHEEL_TICK
Reports wheel ticks. |
int |
WINDOW_LOCK
Window Lock
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
|
int |
WINDOW_MOVE
Window Move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
|
int |
WINDOW_POS
Window Position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
|
Public constructors | |
---|---|
VehiclePropertyIds()
This constructor is deprecated. to prevent others from instantiating this class |
Public methods | |
---|---|
static
String
|
toString(int property)
Gets a user-friendly representation of a property. |
Inherited methods | |
---|---|
Constants
ABS_ACTIVE
public static final int ABS_ACTIVE
ABS is active
The property is protected by the signature permission:
android.car.permission.CAR_DYNAMICS_STATE.
Requires android.car.Car.PERMISSION_CAR_DYNAMICS_STATE
Constant Value: 287310858 (0x1120040a)
AP_POWER_BOOTUP_REASON
public static final int AP_POWER_BOOTUP_REASON
Property to report bootup reason for the current power on. This is a
static property that will not change for the whole duration until power
off. For example, even if user presses power on button after automatic
power on with door unlock, bootup reason must stay with
VehicleApPowerBootupReason#USER_UNLOCK.
The property is protected by the signature permission: android.car.permission.CAR_POWER.
Requires android.car.Car.PERMISSION_CAR_POWER
Constant Value: 289409538 (0x11400a02)
AP_POWER_STATE_REPORT
public static final int AP_POWER_STATE_REPORT
Property to report power state of application processor
It is assumed that AP's power state is controller by separate power
controller.
The property is protected by the signature permission: android.car.permission.CAR_POWER.
Requires android.car.Car.PERMISSION_CAR_POWER
Constant Value: 289475073 (0x11410a01)
AP_POWER_STATE_REQ
public static final int AP_POWER_STATE_REQ
Property to control power state of application processor
It is assumed that AP's power state is controller by separate power
controller.
The property is protected by the signature permission: android.car.permission.CAR_POWER.
Requires android.car.Car.PERMISSION_CAR_POWER
Constant Value: 289475072 (0x11410a00)
CABIN_LIGHTS_STATE
public static final int CABIN_LIGHTS_STATE
Cabin lights
Requires permission: Car#PERMISSION_READ_INTERIOR_LIGHTS
.
Requires Car.PERMISSION_READ_INTERIOR_LIGHTS
Constant Value: 289410817 (0x11400f01)
CABIN_LIGHTS_SWITCH
public static final int CABIN_LIGHTS_SWITCH
Cabin lights switch
Requires permission: Car#PERMISSION_CONTROL_INTERIOR_LIGHTS
.
Requires Car.PERMISSION_CONTROL_INTERIOR_LIGHTS
Constant Value: 289410818 (0x11400f02)
CRITICALLY_LOW_TIRE_PRESSURE
public static final int CRITICALLY_LOW_TIRE_PRESSURE
Critically low tire pressure
This property indicates the critically low pressure threshold for each tire. It
indicates when it is time for tires to be replaced or fixed. The value
must be less than or equal to minFloatValue in VehiclePropertyIds#TIRE_PRESSURE
.
Minimum and maximum property values
(that is, minFloatValue
, maxFloatValue
) are not applicable to this property.
Requires android.car.Car.PERMISSION_TIRES
Constant Value: 392168202 (0x1760030a)
CURRENT_GEAR
public static final int CURRENT_GEAR
Vehicle transmission's current VehicleGear
.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
CURRENT_GEAR
's value may not match that of GEAR_SELECTION
. For example, if the GEAR_SELECTION
is VehicleGear#GEAR_DRIVE
in a vehicle with an
automatic transmission, the CURRENT_GEAR
will be one of VehicleGear.GEAR_FIRST
, VehicleGear#GEAR_SECOND
, etc, which reflects the actual gear
the transmission is currently running in.
configArray represents the list of supported VehicleGear
s for CURRENT_GEAR
. For example, the configArray for an EV vehicle is set as follows:
- configArray[0] =
VehicleGear#GEAR_REVERSE
- configArray[1] =
VehicleGear#GEAR_PARK
- configArray[2] =
VehicleGear#GEAR_DRIVE
Example automatic transmission configArray:
- configArray[0] =
VehicleGear#GEAR_NEUTRAL
- configArray[1] =
VehicleGear#GEAR_REVERSE
- configArray[2] =
VehicleGear#GEAR_PARK
- configArray[4] =
VehicleGear#GEAR_FIRST
- configArray[5] =
VehicleGear#GEAR_SECOND
- ...
Example manual transmission configArray:
- configArray[0] =
VehicleGear#GEAR_NEUTRAL
- configArray[1] =
VehicleGear#GEAR_REVERSE
- configArray[4] =
VehicleGear#GEAR_FIRST
- configArray[5] =
VehicleGear#GEAR_SECOND
- ...
Requires permission: Car#PERMISSION_POWERTRAIN
.
Requires Car.PERMISSION_POWERTRAIN
Constant Value: 289408001 (0x11400401)
DISPLAY_BRIGHTNESS
public static final int DISPLAY_BRIGHTNESS
Property to represent brightness of the display. Some cars have single
control for the brightness of all displays and this property is to share
change in that control.
The property is protected by the signature permission: android.car.permission.CAR_POWER.
Requires android.car.Car.PERMISSION_CAR_POWER
Constant Value: 289409539 (0x11400a03)
DISTANCE_DISPLAY_UNITS
public static final int DISTANCE_DISPLAY_UNITS
Distance units for display.
Indicates which units the car is using to display distances to the user.
configArray represents the list of supported units for DISTANCE_DISPLAY_UNITS
. Here is an example configArray:
- configArray[0] =
33 //VehicleUnit#METER
- configArray[1] =
35 //VehicleUnit#KILOMETER
- configArray[1] =
36 //VehicleUnit#MILE
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Required Permissions:
Car#PERMISSION_READ_DISPLAY_UNITS
to read property.- Signature permissions, android.car.permission.CONTROL_CAR_DISPLAY_UNITS and android.car.permission.CAR_VENDOR_EXTENSION, to write property.
Constant Value: 289408512 (0x11400600)
DOOR_LOCK
public static final int DOOR_LOCK
Door lock
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_DOORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_DOORS
Constant Value: 371198722 (0x16200b02)
DOOR_MOVE
public static final int DOOR_MOVE
Door move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_DOORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_DOORS
Constant Value: 373295873 (0x16400b01)
DOOR_POS
public static final int DOOR_POS
Door position
This is an integer in case a door may be set to a particular position.
Max value indicates fully open, min value (0) indicates fully closed.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_DOORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_DOORS
Constant Value: 373295872 (0x16400b00)
ELECTRONIC_TOLL_COLLECTION_CARD_STATUS
public static final int ELECTRONIC_TOLL_COLLECTION_CARD_STATUS
Electronic Toll Collection card status.
This property indicates the status of ETC(Electronic Toll Collection) card in the
vehicle. If the head unit is aware of an ETC card attached to the vehicle, ETC_CARD_STATUS
gives that status of the card; otherwise, this property should be UNAVAILABLE. The property
value should be one of VehicleElectronicTollCollectionCardStatus
.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289410874 (0x11400f3a)
ELECTRONIC_TOLL_COLLECTION_CARD_TYPE
public static final int ELECTRONIC_TOLL_COLLECTION_CARD_TYPE
Electronic Toll Collection card type.
This property indicates the type of ETC(Electronic Toll Collection) card in the vehicle.
If the head unit is aware of an ETC card attached to the vehicle, this property should
return the type of card attached; otherwise, this property should be UNAVAILABLE. The
property value should be one of VehicleElectronicTollCollectionCardType
.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289410873 (0x11400f39)
ENGINE_COOLANT_TEMP
public static final int ENGINE_COOLANT_TEMP
Temperature of engine coolant in celsius.
The property is protected by the signature permission:
android.car.permission.CAR_ENGINE_DETAILED.
Requires android.car.Car.PERMISSION_CAR_ENGINE_DETAILED
Constant Value: 291504897 (0x11600301)
ENGINE_OIL_LEVEL
public static final int ENGINE_OIL_LEVEL
Engine oil level
The property is protected by the signature permission:
android.car.permission.CAR_ENGINE_DETAILED.
Requires android.car.Car.PERMISSION_CAR_ENGINE_DETAILED
Constant Value: 289407747 (0x11400303)
ENGINE_OIL_TEMP
public static final int ENGINE_OIL_TEMP
Temperature of engine oil in celsius.
The property is protected by the signature permission:
android.car.permission.CAR_ENGINE_DETAILED.
Requires android.car.Car.PERMISSION_CAR_ENGINE_DETAILED
Constant Value: 291504900 (0x11600304)
ENGINE_RPM
public static final int ENGINE_RPM
Engine rpm
The property is protected by the signature permission:
android.car.permission.CAR_ENGINE_DETAILED.
Requires android.car.Car.PERMISSION_CAR_ENGINE_DETAILED
Constant Value: 291504901 (0x11600305)
ENV_OUTSIDE_TEMPERATURE
public static final int ENV_OUTSIDE_TEMPERATURE
Outside temperature in celsius.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Requires permission: Car#PERMISSION_EXTERIOR_ENVIRONMENT
.
Requires Car.PERMISSION_EXTERIOR_ENVIRONMENT
Constant Value: 291505923 (0x11600703)
EPOCH_TIME
public static final int EPOCH_TIME
Current date and time, encoded as Unix time.
This value denotes the number of milliseconds that have elapsed since 1/1/1970 UTC.
Requires android.car.Car.PERMISSION_CAR_EPOCH_TIME
Constant Value: 290457094 (0x11500606)
EV_BATTERY_DISPLAY_UNITS
public static final int EV_BATTERY_DISPLAY_UNITS
EV battery units for display.
Indicates which units the vehicle is using to display EV battery information to the user.
configArray represents the list of supported units for EV_BATTERY_DISPLAY_UNITS
. Here is an example configArray:
- configArray[0] =
96 //VehicleUnit#WATT_HOUR
- configArray[1] =
100 //VehicleUnit#AMPERE_HOURS
- configArray[2] =
101 //VehicleUnit#KILOWATT_HOUR
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Required Permissions:
Car#PERMISSION_READ_DISPLAY_UNITS
to read property.- Signature permissions, android.car.permission.CONTROL_CAR_DISPLAY_UNITS and android.car.permission.CAR_VENDOR_EXTENSION, to write property.
Constant Value: 289408515 (0x11400603)
EV_BATTERY_INSTANTANEOUS_CHARGE_RATE
public static final int EV_BATTERY_INSTANTANEOUS_CHARGE_RATE
EV instantaneous charge rate in milliwatts.
Positive rate indicates battery is being charged, and Negative rate indicates battery being discharged.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Required Permissions:
Car#PERMISSION_ENERGY
to read property.- Property is not writable.
Requires
Car.PERMISSION_ENERGY
Constant Value: 291504908 (0x1160030c)
EV_BATTERY_LEVEL
public static final int EV_BATTERY_LEVEL
EV battery level in watt-hours (Wh), if EV or hybrid.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Required Permissions:
Car#PERMISSION_ENERGY
to read property.- Property is not writable.
Requires
Car.PERMISSION_ENERGY
Constant Value: 291504905 (0x11600309)
EV_CHARGE_PORT_CONNECTED
public static final int EV_CHARGE_PORT_CONNECTED
EV charge port connected.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Required Permissions:
Car#PERMISSION_ENERGY_PORTS
to read property.- Property is not writable.
Requires
Car.PERMISSION_ENERGY_PORTS
Constant Value: 287310603 (0x1120030b)
EV_CHARGE_PORT_OPEN
public static final int EV_CHARGE_PORT_OPEN
EV charge port open.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Required Permissions:
Car#PERMISSION_ENERGY_PORTS
to read property.- Signature permission, android.car.permission.CONTROL_CAR_ENERGY_PORTS, to write property.
Constant Value: 287310602 (0x1120030a)
FOG_LIGHTS_STATE
public static final int FOG_LIGHTS_STATE
Fog light state
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_EXTERIOR_LIGHTS
Constant Value: 289410562 (0x11400e02)
FOG_LIGHTS_SWITCH
public static final int FOG_LIGHTS_SWITCH
Fog light switch
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_CONTROL_EXTERIOR_LIGHTS
Constant Value: 289410578 (0x11400e12)
FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME
public static final int FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME
Fuel consumption units for display.
Indicates type of units the car is using to display fuel consumption information to user.
true
indicates units are distance over volume such as MPG.
false
indicates units are volume over distance such as L/100KM.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Required Permissions:
Car#PERMISSION_READ_DISPLAY_UNITS
to read property.- Signature permissions, android.car.permission.CONTROL_CAR_DISPLAY_UNITS and android.car.permission.CAR_VENDOR_EXTENSION, to write property.
Constant Value: 287311364 (0x11200604)
FUEL_DOOR_OPEN
public static final int FUEL_DOOR_OPEN
Fuel door open.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Required Permissions:
Car#PERMISSION_ENERGY_PORTS
to read property.- Signature permission, android.car.permission.CONTROL_CAR_ENERGY_PORTS, to write property.
Constant Value: 287310600 (0x11200308)
FUEL_LEVEL
public static final int FUEL_LEVEL
Fuel remaining in the vehicle in milliliters.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Required Permissions:
Car#PERMISSION_ENERGY
to read property.- Property is not writable.
Requires
Car.PERMISSION_ENERGY
Constant Value: 291504903 (0x11600307)
FUEL_LEVEL_LOW
public static final int FUEL_LEVEL_LOW
Warning for fuel low level.
FUEL_LEVEL_LOW
corresponds to the low fuel warning on the dashboard. Once FUEL_LEVEL_LOW
is set, it should not be cleared until more fuel is added to the vehicle.
This property may take into account all fuel sources for a vehicle - for example:
- For a gas powered vehicle, this property is based solely on gas level.
- For a battery powered vehicle, this property is based solely on battery level.
- For a hybrid vehicle, this property may be based on the combination of gas and battery levels, at the OEM's discretion.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Required Permissions:
Car#PERMISSION_ENERGY
to read property.- Property is not writable.
Requires
Car.PERMISSION_ENERGY
Constant Value: 287310853 (0x11200405)
FUEL_VOLUME_DISPLAY_UNITS
public static final int FUEL_VOLUME_DISPLAY_UNITS
Fuel volume units for display.
Indicates which units the car is using to display fuel volume to the user.
configArray represents the list of supported units for FUEL_VOLUME_DISPLAY_UNITS
. Here is an example configArray:
- configArray[0] =
65 //VehicleUnit#LITER
- configArray[1] =
66 //VehicleUnit#US_GALLON
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Required Permissions:
Car#PERMISSION_READ_DISPLAY_UNITS
to read property.- Signature permissions, android.car.permission.CONTROL_CAR_DISPLAY_UNITS and android.car.permission.CAR_VENDOR_EXTENSION, to write property.
Constant Value: 289408513 (0x11400601)
GEAR_SELECTION
public static final int GEAR_SELECTION
Currently selected gear by user.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
See VehicleGear
for gear value enum.
configArray represents the list of supported gears for the vehicle. For example, configArray for an EV vehicle is set as follows:
- configArray[0] =
VehicleGear#GEAR_REVERSE
- configArray[1] =
VehicleGear#GEAR_PARK
- configArray[2] =
VehicleGear#GEAR_DRIVE
Example automatic transmission configArray:
- configArray[0] =
VehicleGear#GEAR_NEUTRAL
- configArray[1] =
VehicleGear#GEAR_REVERSE
- configArray[2] =
VehicleGear#GEAR_PARK
- configArray[3] =
VehicleGear#GEAR_DRIVE
- configArray[4] =
VehicleGear#GEAR_FIRST
- configArray[5] =
VehicleGear#GEAR_SECOND
- ...
Example manual transmission configArray:
- configArray[0] =
VehicleGear#GEAR_NEUTRAL
- configArray[1] =
VehicleGear#GEAR_REVERSE
- configArray[4] =
VehicleGear#GEAR_FIRST
- configArray[5] =
VehicleGear#GEAR_SECOND
- ...
Requires permission: Car#PERMISSION_POWERTRAIN
.
Requires Car.PERMISSION_POWERTRAIN
Constant Value: 289408000 (0x11400400)
HAZARD_LIGHTS_STATE
public static final int HAZARD_LIGHTS_STATE
Hazard light status
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_EXTERIOR_LIGHTS
Constant Value: 289410563 (0x11400e03)
HAZARD_LIGHTS_SWITCH
public static final int HAZARD_LIGHTS_SWITCH
Hazard light switch
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_CONTROL_EXTERIOR_LIGHTS
Constant Value: 289410579 (0x11400e13)
HEADLIGHTS_STATE
public static final int HEADLIGHTS_STATE
Headlights State
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_EXTERIOR_LIGHTS
Constant Value: 289410560 (0x11400e00)
HEADLIGHTS_SWITCH
public static final int HEADLIGHTS_SWITCH
Headlight switch
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_CONTROL_EXTERIOR_LIGHTS
Constant Value: 289410576 (0x11400e10)
HIGH_BEAM_LIGHTS_STATE
public static final int HIGH_BEAM_LIGHTS_STATE
High beam lights state
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_EXTERIOR_LIGHTS
Constant Value: 289410561 (0x11400e01)
HIGH_BEAM_LIGHTS_SWITCH
public static final int HIGH_BEAM_LIGHTS_SWITCH
High beam light switch
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS.
Requires android.car.Car.PERMISSION_CONTROL_EXTERIOR_LIGHTS
Constant Value: 289410577 (0x11400e11)
HVAC_ACTUAL_FAN_SPEED_RPM
public static final int HVAC_ACTUAL_FAN_SPEED_RPM
Actual fan speed
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356517135 (0x1540050f)
HVAC_AC_ON
public static final int HVAC_AC_ON
On/off AC for designated areaId
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419973 (0x15200505)
HVAC_AUTO_ON
public static final int HVAC_AUTO_ON
On/off automatic mode
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419978 (0x1520050a)
HVAC_AUTO_RECIRC_ON
public static final int HVAC_AUTO_RECIRC_ON
Automatic recirculation on/off
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419986 (0x15200512)
HVAC_DEFROSTER
public static final int HVAC_DEFROSTER
On/off defrost for designated window
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 320865540 (0x13200504)
HVAC_DUAL_ON
public static final int HVAC_DUAL_ON
Enable temperature coupling between areas.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419977 (0x15200509)
HVAC_FAN_DIRECTION
public static final int HVAC_FAN_DIRECTION
Fan direction setting
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356517121 (0x15400501)
HVAC_FAN_DIRECTION_AVAILABLE
public static final int HVAC_FAN_DIRECTION_AVAILABLE
Fan Positions Available
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356582673 (0x15410511)
HVAC_FAN_SPEED
public static final int HVAC_FAN_SPEED
Fan speed setting
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356517120 (0x15400500)
HVAC_MAX_AC_ON
public static final int HVAC_MAX_AC_ON
On/off max AC
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419974 (0x15200506)
HVAC_MAX_DEFROST_ON
public static final int HVAC_MAX_DEFROST_ON
On/off max defrost
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419975 (0x15200507)
HVAC_POWER_ON
public static final int HVAC_POWER_ON
Represents global power state for HVAC. Setting this property to false
MAY mark some properties that control individual HVAC features/subsystems
to UNAVAILABLE state. Setting this property to true MAY mark some
properties that control individual HVAC features/subsystems to AVAILABLE
state (unless any/all of them are UNAVAILABLE on their own individual
merits).
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419984 (0x15200510)
HVAC_RECIRC_ON
public static final int HVAC_RECIRC_ON
Recirculation on/off
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 354419976 (0x15200508)
HVAC_SEAT_TEMPERATURE
public static final int HVAC_SEAT_TEMPERATURE
Seat heating/cooling
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356517131 (0x1540050b)
HVAC_SEAT_VENTILATION
public static final int HVAC_SEAT_VENTILATION
Seat ventilation
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 356517139 (0x15400513)
HVAC_SIDE_MIRROR_HEAT
public static final int HVAC_SIDE_MIRROR_HEAT
Side Mirror Heat
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 339739916 (0x1440050c)
HVAC_STEERING_WHEEL_HEAT
public static final int HVAC_STEERING_WHEEL_HEAT
Steering Wheel Heating/Cooling
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 289408269 (0x1140050d)
HVAC_TEMPERATURE_CURRENT
public static final int HVAC_TEMPERATURE_CURRENT
HVAC current temperature in celsius.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 358614274 (0x15600502)
HVAC_TEMPERATURE_DISPLAY_UNITS
public static final int HVAC_TEMPERATURE_DISPLAY_UNITS
Temperature units for display
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_CLIMATE.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 289408270 (0x1140050e)
HVAC_TEMPERATURE_SET
public static final int HVAC_TEMPERATURE_SET
HVAC, target temperature set.
The configArray
is used to indicate the valid values for HVAC in Fahrenheit and
Celsius. Android might use it in the HVAC app UI.
The configArray
is set as follows:
configArray[0]
is [the lower bound of the supported temperature in Celsius] * 10.configArray[1]
is [the upper bound of the supported temperature in Celsius] * 10.configArray[2]
is [the increment in Celsius] * 10.configArray[3]
is [the lower bound of the supported temperature in Fahrenheit] * 10.configArray[4]
is [the upper bound of the supported temperature in Fahrenheit] * 10.configArray[5]
is [the increment in Fahrenheit] * 10.
For example, if the vehicle supports temperature values as:
[16.0, 16.5, 17.0 ,..., 28.0] in Celsius [60.5, 61.5, 62.5 ,..., 85.5] in Fahrenheit
The configArray
should be:
configArray = {160, 280, 5, 605, 855, 10}.
If the vehicle supports VehiclePropertyIds#HVAC_TEMPERATURE_VALUE_SUGGESTION
,
the application can use that property to get the suggested value before setting
HVAC_TEMPERATURE_SET
. Otherwise, the application may choose the
value in configArray
of HVAC_TEMPERATURE_SET
by itself.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 358614275 (0x15600503)
HVAC_TEMPERATURE_VALUE_SUGGESTION
public static final int HVAC_TEMPERATURE_VALUE_SUGGESTION
Suggested values for setting HVAC temperature.
Implement the property to help applications understand the closest supported temperature value in Celsius or Fahrenheit.
floatValues[0]
is the requested value that an application wants to set a temperature to.floatValues[1]
is the unit forfloatValues[0]
. It should be one of (VehicleUnit:CELSIUS
,VehicleUnit:FAHRENHEIT
).floatValues[2]
is the value OEMs suggested in CELSIUS. This value is not included in the request.floatValues[3]
is the value OEMs suggested in FAHRENHEIT. This value is not included in the request.
An application calls
CarPropertyManager.setProperty(Class, int, int, Object)
with the requested value and unit for the value. OEMs need to return the suggested values
in floatValues[2]
and floatValues[3]
by
CarPropertyManager.CarPropertyEventCallback
.
For example, when a user uses the voice assistant to set HVAC temperature to 66.2 in Fahrenheit.
First, an application will set this property with the value
[66.2, (float)VehicleUnit:FAHRENHEIT
, 0, 0]. If OEMs suggest to set 19.0 in Celsius
or 66.5 in Fahrenheit for user's request, then car must generate a callback with property
value [66.2, (float)VehicleUnit:FAHRENHEIT
, 19.0, 66.5]. After the voice assistant
gets the callback, it will inform the user and set HVAC temperature to the suggested value.
Another example, an application receives 21 Celsius as the current temperature value by
querying VehiclePropertyIds#HVAC_TEMPERATURE_SET
. But the application wants to know
what value is displayed on the car's UI in Fahrenheit.
For this, the application sets the property to
[21, (float)VehicleUnit:CELSIUS
, 0, 0]. If the suggested value by the OEM for 21
Celsius is 70 Fahrenheit, then car must generate a callback with property value
[21, (float)VehicleUnit:CELSIUS
, 21.0, 70.0]. In this case, the application can know
that the value is 70.0 Fahrenheit in the car’s UI.
Requires android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE
Constant Value: 291570965 (0x11610515)
HW_KEY_INPUT
public static final int HW_KEY_INPUT
Property to feed H/W input events to android
Constant Value: 289475088 (0x11410a10)
IGNITION_STATE
public static final int IGNITION_STATE
Vehicle's ignition state.
The property value can be one of:
0
: Steering wheel is locked.1
: Steering wheel is not locked, engine and all accessories are OFF.2
: Typically in this state accessories become available (e.g. radio). Instrument cluster and engine are turned off3
: Ignition is in state ON. Accessories and instrument cluster available, engine might be running or ready to be started.4
: Typically in this state engine is starting (cranking). >Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Required Permissions:
Car#PERMISSION_POWERTRAIN
to read property.- Property is not writable.
RequiresCar.PERMISSION_POWERTRAIN
Constant Value: 289408009 (0x11400409)
INFO_DRIVER_SEAT
public static final int INFO_DRIVER_SEAT
Driver's VehicleAreaSeat
seat location.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 356516106 (0x1540010a)
INFO_EV_BATTERY_CAPACITY
public static final int INFO_EV_BATTERY_CAPACITY
Battery capacity of the vehicle in watt-hours (Wh), if EV or hybrid. This is the nominal battery capacity when the vehicle is new.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Float
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 291504390 (0x11600106)
INFO_EV_CONNECTOR_TYPE
public static final int INFO_EV_CONNECTOR_TYPE
List of EvConnectorType
s this vehicle may use.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer[]
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289472775 (0x11410107)
INFO_EV_PORT_LOCATION
public static final int INFO_EV_PORT_LOCATION
PortLocationType
for the EV port location
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289407241 (0x11400109)
INFO_EXTERIOR_DIMENSIONS
public static final int INFO_EXTERIOR_DIMENSIONS
Vehicle's exterior dimensions in millimeters.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer[]
property type
Exterior dimensions defined in the CarPropertyValue#getValue()
Integer[]
:
- Integer[0] = height
- Integer[1] = length
- Integer[2] = width
- Integer[3] = width including mirrors
- Integer[4] = wheel base
- Integer[5] = track width front
- Integer[6] = track width rear
- Integer[7] = curb to curb turning radius
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289472779 (0x1141010b)
INFO_FUEL_CAPACITY
public static final int INFO_FUEL_CAPACITY
Fuel capacity of the vehicle in milliliters.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Float
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 291504388 (0x11600104)
INFO_FUEL_DOOR_LOCATION
public static final int INFO_FUEL_DOOR_LOCATION
PortLocationType
for the fuel door location.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289407240 (0x11400108)
INFO_FUEL_TYPE
public static final int INFO_FUEL_TYPE
List the FuelType
s the vehicle may use.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer[]
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289472773 (0x11410105)
INFO_MAKE
public static final int INFO_MAKE
Manufacturer of vehicle.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
String
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 286261505 (0x11100101)
INFO_MODEL
public static final int INFO_MODEL
Model of vehicle.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
String
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 286261506 (0x11100102)
INFO_MODEL_YEAR
public static final int INFO_MODEL_YEAR
Model year of vehicle.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289407235 (0x11400103)
INFO_MULTI_EV_PORT_LOCATIONS
public static final int INFO_MULTI_EV_PORT_LOCATIONS
List PortLocationType
s for Multiple EV port locations.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC
Integer[]
property type
Requires permission: Car#PERMISSION_CAR_INFO
.
Requires Car.PERMISSION_CAR_INFO
Constant Value: 289472780 (0x1141010c)
INFO_VIN
public static final int INFO_VIN
VIN of vehicle
Requires permission: Car#PERMISSION_IDENTIFICATION
.
Requires Car.PERMISSION_IDENTIFICATION
Constant Value: 286261504 (0x11100100)
INVALID
public static final int INVALID
Undefined property.
Constant Value: 0 (0x00000000)
MIRROR_FOLD
public static final int MIRROR_FOLD
Mirror Fold
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 287312709 (0x11200b45)
MIRROR_LOCK
public static final int MIRROR_LOCK
Mirror Lock
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 287312708 (0x11200b44)
MIRROR_Y_MOVE
public static final int MIRROR_Y_MOVE
Mirror Y Move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 339741507 (0x14400b43)
MIRROR_Y_POS
public static final int MIRROR_Y_POS
Mirror Y Position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 339741506 (0x14400b42)
MIRROR_Z_MOVE
public static final int MIRROR_Z_MOVE
Mirror Z Move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 339741505 (0x14400b41)
MIRROR_Z_POS
public static final int MIRROR_Z_POS
Mirror Z Position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_MIRRORS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS
Constant Value: 339741504 (0x14400b40)
NIGHT_MODE
public static final int NIGHT_MODE
Night mode.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
True indicates that the night mode sensor has detected that the car cabin environment has low light.
Requires permission: Car#PERMISSION_EXTERIOR_ENVIRONMENT
.
Requires Car.PERMISSION_EXTERIOR_ENVIRONMENT
Constant Value: 287310855 (0x11200407)
OBD2_FREEZE_FRAME
public static final int OBD2_FREEZE_FRAME
OBD2 Freeze Frame Sensor Data
Reports a snapshot of the value of the OBD2 sensors available at the time that a fault
occurred and was detected.
The property is protected by the signature permission:
android.car.permission.CAR_DIAGNOSTICS.
Requires android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL
Constant Value: 299896065 (0x11e00d01)
OBD2_FREEZE_FRAME_CLEAR
public static final int OBD2_FREEZE_FRAME_CLEAR
OBD2 Freeze Frame Clear
This property allows deletion of any of the freeze frames stored in
vehicle memory, as described by OBD2_FREEZE_FRAME_INFO.
The property is protected by the signature permission:
android.car.permission.CLEAR_CAR_DIAGNOSTICS.
Requires android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR
Constant Value: 299896067 (0x11e00d03)
OBD2_FREEZE_FRAME_INFO
public static final int OBD2_FREEZE_FRAME_INFO
OBD2 Freeze Frame Information
The property is protected by the signature permission:
android.car.permission.CAR_DIAGNOSTICS.
Requires android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL
Constant Value: 299896066 (0x11e00d02)
OBD2_LIVE_FRAME
public static final int OBD2_LIVE_FRAME
OBD2 Live Sensor Data
Reports a snapshot of the current (live) values of the OBD2 sensors available.
The property is protected by the signature permission:
android.car.permission.CAR_DIAGNOSTICS.
Requires android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL
Constant Value: 299896064 (0x11e00d00)
PARKING_BRAKE_AUTO_APPLY
public static final int PARKING_BRAKE_AUTO_APPLY
Auto-apply parking brake.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Requires permission: Car#PERMISSION_POWERTRAIN
.
Requires Car.PERMISSION_POWERTRAIN
Constant Value: 287310851 (0x11200403)
PARKING_BRAKE_ON
public static final int PARKING_BRAKE_ON
Parking brake state.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Boolean
property type
Requires permission: Car#PERMISSION_POWERTRAIN
.
Requires Car.PERMISSION_POWERTRAIN
Constant Value: 287310850 (0x11200402)
PERF_ODOMETER
public static final int PERF_ODOMETER
Current odometer value of the vehicle in kilometers.
The property is protected by the signature permission: android.car.permission.CAR_MILEAGE.
Requires android.car.Car.PERMISSION_MILEAGE
Constant Value: 291504644 (0x11600204)
PERF_REAR_STEERING_ANGLE
public static final int PERF_REAR_STEERING_ANGLE
Rear bicycle model steering angle for vehicle in degrees.
Left is negative.
Requires permission: Car#PERMISSION_READ_STEERING_STATE
.
Requires Car.PERMISSION_READ_STEERING_STATE
Constant Value: 291504656 (0x11600210)
PERF_STEERING_ANGLE
public static final int PERF_STEERING_ANGLE
Front bicycle model steering angle for vehicle in degrees.
Left is negative.
Requires permission: Car#PERMISSION_READ_STEERING_STATE
.
Requires Car.PERMISSION_READ_STEERING_STATE
Constant Value: 291504649 (0x11600209)
PERF_VEHICLE_SPEED
public static final int PERF_VEHICLE_SPEED
Speed of the vehicle in meters per second.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
When the vehicle is moving forward, PERF_VEHICLE_SPEED is positive and negative when the vehicle is moving backward. Also, this value is independent of gear value (CURRENT_GEAR or GEAR_SELECTION). For example, if GEAR_SELECTION is GEAR_NEUTRAL, PERF_VEHICLE_SPEED is positive when the vehicle is moving forward, negative when moving backward, and zero when not moving.
Requires permission: Car#PERMISSION_SPEED
.
Requires Car.PERMISSION_SPEED
Constant Value: 291504647 (0x11600207)
PERF_VEHICLE_SPEED_DISPLAY
public static final int PERF_VEHICLE_SPEED_DISPLAY
Speed of the vehicle in meters per second for displays.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Some cars display a slightly slower speed than the actual speed. This is usually displayed on the speedometer.
Requires permission: Car#PERMISSION_SPEED
.
Requires Car.PERMISSION_SPEED
Constant Value: 291504648 (0x11600208)
RANGE_REMAINING
public static final int RANGE_REMAINING
Range remaining in meters.
Range remaining accounts for all energy sources in a vehicle. For example, a hybrid car's range will be the sum of the ranges based on fuel and battery.
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Float
property type
Required Permissions:
Car#PERMISSION_ENERGY
to read property.- Signature permission, android.car.permission.ADJUST_RANGE_REMAINING, to write property.
Constant Value: 291504904 (0x11600308)
READING_LIGHTS_STATE
public static final int READING_LIGHTS_STATE
Reading lights
Requires permission: Car#PERMISSION_READ_INTERIOR_LIGHTS
.
Requires Car.PERMISSION_READ_INTERIOR_LIGHTS
Constant Value: 356519683 (0x15400f03)
READING_LIGHTS_SWITCH
public static final int READING_LIGHTS_SWITCH
Reading lights switch
Requires permission: Car#PERMISSION_CONTROL_INTERIOR_LIGHTS
.
Requires Car.PERMISSION_CONTROL_INTERIOR_LIGHTS
Constant Value: 356519684 (0x15400f04)
SEAT_BACKREST_ANGLE_1_MOVE
public static final int SEAT_BACKREST_ANGLE_1_MOVE
Seat backrest angle 1 move
Moves the backrest forward or recline.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518792 (0x15400b88)
SEAT_BACKREST_ANGLE_1_POS
public static final int SEAT_BACKREST_ANGLE_1_POS
Seat backrest angle 1 position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518791 (0x15400b87)
SEAT_BACKREST_ANGLE_2_MOVE
public static final int SEAT_BACKREST_ANGLE_2_MOVE
Seat backrest angle 2 move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518794 (0x15400b8a)
SEAT_BACKREST_ANGLE_2_POS
public static final int SEAT_BACKREST_ANGLE_2_POS
Seat backrest angle 2 position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518793 (0x15400b89)
SEAT_BELT_BUCKLED
public static final int SEAT_BELT_BUCKLED
Seatbelt buckled
True indicates belt is buckled.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 354421634 (0x15200b82)
SEAT_BELT_HEIGHT_MOVE
public static final int SEAT_BELT_HEIGHT_MOVE
Seatbelt height move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518788 (0x15400b84)
SEAT_BELT_HEIGHT_POS
public static final int SEAT_BELT_HEIGHT_POS
Seatbelt height position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518787 (0x15400b83)
SEAT_DEPTH_MOVE
public static final int SEAT_DEPTH_MOVE
Seat depth move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518798 (0x15400b8e)
SEAT_DEPTH_POS
public static final int SEAT_DEPTH_POS
Seat depth position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518797 (0x15400b8d)
SEAT_FORE_AFT_MOVE
public static final int SEAT_FORE_AFT_MOVE
Seat fore/aft move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518790 (0x15400b86)
SEAT_FORE_AFT_POS
public static final int SEAT_FORE_AFT_POS
Seat fore/aft position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518789 (0x15400b85)
SEAT_HEADREST_ANGLE_MOVE
public static final int SEAT_HEADREST_ANGLE_MOVE
Headrest angle move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518808 (0x15400b98)
SEAT_HEADREST_ANGLE_POS
public static final int SEAT_HEADREST_ANGLE_POS
Headrest angle position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518807 (0x15400b97)
SEAT_HEADREST_FORE_AFT_MOVE
public static final int SEAT_HEADREST_FORE_AFT_MOVE
Headrest fore/aft move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518810 (0x15400b9a)
SEAT_HEADREST_FORE_AFT_POS
public static final int SEAT_HEADREST_FORE_AFT_POS
Headrest fore/aft position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518809 (0x15400b99)
SEAT_HEADREST_HEIGHT_MOVE
public static final int SEAT_HEADREST_HEIGHT_MOVE
Headrest height move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518806 (0x15400b96)
SEAT_HEADREST_HEIGHT_POS
public static final int SEAT_HEADREST_HEIGHT_POS
Headrest height position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 289409941 (0x11400b95)
SEAT_HEIGHT_MOVE
public static final int SEAT_HEIGHT_MOVE
Seat height move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518796 (0x15400b8c)
SEAT_HEIGHT_POS
public static final int SEAT_HEIGHT_POS
Seat height position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518795 (0x15400b8b)
SEAT_LUMBAR_FORE_AFT_MOVE
public static final int SEAT_LUMBAR_FORE_AFT_MOVE
Lumbar fore/aft move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518802 (0x15400b92)
SEAT_LUMBAR_FORE_AFT_POS
public static final int SEAT_LUMBAR_FORE_AFT_POS
Lumber fore/aft position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518801 (0x15400b91)
SEAT_LUMBAR_SIDE_SUPPORT_MOVE
public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE
Lumbar side support move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518804 (0x15400b94)
SEAT_LUMBAR_SIDE_SUPPORT_POS
public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS
Lumbar side support position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518803 (0x15400b93)
SEAT_MEMORY_SELECT
public static final int SEAT_MEMORY_SELECT
Seat memory select
This parameter selects the memory preset to use to select the seat
position. The minValue is always 0, and the maxValue determines the
number of seat positions available.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518784 (0x15400b80)
SEAT_MEMORY_SET
public static final int SEAT_MEMORY_SET
Seat memory set
This setting allows the user to save the current seat position settings
into the selected preset slot. The maxValue for each seat position
must match the maxValue for SEAT_MEMORY_SELECT.
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518785 (0x15400b81)
SEAT_OCCUPANCY
public static final int SEAT_OCCUPANCY
Seat Occupancy
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518832 (0x15400bb0)
SEAT_TILT_MOVE
public static final int SEAT_TILT_MOVE
Seat tilt move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518800 (0x15400b90)
SEAT_TILT_POS
public static final int SEAT_TILT_POS
Seat tilt position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_SEATS.
Requires android.car.Car.PERMISSION_CONTROL_CAR_SEATS
Constant Value: 356518799 (0x15400b8f)
STORAGE_ENCRYPTION_BINDING_SEED
public static final int STORAGE_ENCRYPTION_BINDING_SEED
External encryption binding seed.
This value is mixed with the local storage encryption seed. This property holds 16 bytes,
and is expected to be persisted on an ECU separate from the IVI. The property is initially
set by AAOS, who generates it using a CSRNG. AAOS will then read the property on subsequent
boots.
Requires android.car.Car.PERMISSION_STORAGE_ENCRYPTION_BINDING_SEED
Constant Value: 292554247 (0x11700607)
TIRE_PRESSURE
public static final int TIRE_PRESSURE
Tire pressure in kilopascals.
min/max value indicates tire pressure sensor range. Each tire will have a separate min/max
value denoted by its areaConfig.areaId.
The property is protected by the signature permission: android.car.permission.CAR_TIRES.
Requires android.car.Car.PERMISSION_TIRES
Constant Value: 392168201 (0x17600309)
TIRE_PRESSURE_DISPLAY_UNITS
public static final int TIRE_PRESSURE_DISPLAY_UNITS
Tire pressure units for display.
Indicates which units the car is using to display tire pressure to the user.
configArray represents the list of supported units for TIRE_PRESSURE_DISPLAY_UNITS
. Here is an example configArray:
- configArray[0] =
112 //VehicleUnit#KILOPASCAL
- configArray[1] =
113 //VehicleUnit#PSI
- configArray[2] =
114 //VehicleUnit#BAR
Property Config:
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ_WRITE
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
Integer
property type
Required Permissions:
Car#PERMISSION_READ_DISPLAY_UNITS
to read property.- Signature permissions, android.car.permission.CONTROL_CAR_DISPLAY_UNITS and android.car.permission.CAR_VENDOR_EXTENSION, to write property.
Constant Value: 289408514 (0x11400602)
TRACTION_CONTROL_ACTIVE
public static final int TRACTION_CONTROL_ACTIVE
Traction Control is active
The property is protected by the signature permission:
android.car.permission.CAR_DYNAMICS_STATE.
Requires android.car.Car.PERMISSION_CAR_DYNAMICS_STATE
Constant Value: 287310859 (0x1120040b)
TURN_SIGNAL_STATE
public static final int TURN_SIGNAL_STATE
State of the vehicles turn signals
The property is protected by the signature permission:
android.car.permission.CAR_EXTERIOR_LIGHTS .
Requires android.car.Car.PERMISSION_EXTERIOR_LIGHTS
Constant Value: 289408008 (0x11400408)
VEHICLE_MAP_SERVICE
public static final int VEHICLE_MAP_SERVICE
Vehicle Maps Service (VMS) message
The property is protected by the signature permissions:
android.car.permission.VMS_PUBLISHER and android.car.permission.VMS_SUBSCRIBER.
Requires android.car.Car.PERMISSION_VMS_PUBLISHER or android.car.Car.PERMISSION_VMS_SUBSCRIBER
Constant Value: 299895808 (0x11e00c00)
WHEEL_TICK
public static final int WHEEL_TICK
Reports wheel ticks.
CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ
VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL
CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS
Long[]
property type
The first element in the array is a reset count. A reset indicates previous tick counts are not comparable with this and future ones. Some sort of discontinuity in tick counting has occurred.
The next four elements represent ticks for individual wheels in the following order: front left, front right, rear right, rear left. All tick counts are cumulative. Tick counts increment when the vehicle moves forward, and decrement when vehicles moves in reverse. The ticks should be reset to 0 when the vehicle is started by the user.
- Long[0] = reset count
- Long[1] = front left ticks
- Long[2] = front right ticks
- Long[3] = rear right ticks
- Long[4] = rear left ticks
configArray is used to indicate the micrometers-per-wheel-tick values and which wheels are supported. Each micrometers-per-wheel-tick value is static (i.e. will not update based on wheel's status) and a best approximation. For example, if a vehicle has multiple rim/tire size options, the micrometers-per-wheel-tick values are set to those for the typically expected rim/tire size. configArray is set as follows:
- configArray[0], bits [0:3] = supported wheels. Uses
VehicleAreaWheel
. - configArray[1] = micrometers per front left wheel tick
- configArray[2] = micrometers per front right wheel tick
- configArray[3] = micrometers per rear right wheel tick
- configArray[4] = micrometers per rear left wheel tick
NOTE: If a wheel is not supported, its value is always 0.
Requires permission: Car#PERMISSION_SPEED
.
Requires Car.PERMISSION_SPEED
Constant Value: 290521862 (0x11510306)
WINDOW_LOCK
public static final int WINDOW_LOCK
Window Lock
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
Requires android.car.Car.PERMISSION_CONTROL_CAR_WINDOWS
Constant Value: 320867268 (0x13200bc4)
WINDOW_MOVE
public static final int WINDOW_MOVE
Window Move
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
Requires android.car.Car.PERMISSION_CONTROL_CAR_WINDOWS
Constant Value: 322964417 (0x13400bc1)
WINDOW_POS
public static final int WINDOW_POS
Window Position
The property is protected by the signature permission:
android.car.permission.CONTROL_CAR_WINDOWS
Requires android.car.Car.PERMISSION_CONTROL_CAR_WINDOWS
Constant Value: 322964416 (0x13400bc0)
Public constructors
VehiclePropertyIds
public VehiclePropertyIds ()
This constructor is deprecated.
to prevent others from instantiating this class
Public methods
toString
public static String toString (int property)
Gets a user-friendly representation of a property.
Parameters | |
---|---|
property |
int |
Returns | |
---|---|
String |