VehicleAreaType
public
final
class
VehicleAreaType
extends Object
java.lang.Object | |
↳ | android.car.VehicleAreaType |
List of different supported area types for vehicle properties.
The constants defined by VehicleAreaType
indicate the different vehicle area types for
properties. A property is mapped to only one VehicleAreaType
. Developers can retrieve the
VehicleAreaType
using CarPropertyConfig.getAreaType()
. Refer
to CarPropertyConfig.getAreaIds()
for more information about area
IDs.
Summary
Constants | |
---|---|
int |
VEHICLE_AREA_TYPE_DOOR
Area type is Door |
int |
VEHICLE_AREA_TYPE_GLOBAL
Used for global properties. |
int |
VEHICLE_AREA_TYPE_MIRROR
Area type is Mirror |
int |
VEHICLE_AREA_TYPE_SEAT
Area type is Seat |
int |
VEHICLE_AREA_TYPE_WHEEL
Area type is Wheel |
int |
VEHICLE_AREA_TYPE_WINDOW
Area type is Window |
Inherited methods | |
---|---|
Constants
VEHICLE_AREA_TYPE_DOOR
public static final int VEHICLE_AREA_TYPE_DOOR
Area type is Door
Constant Value: 4 (0x00000004)
VEHICLE_AREA_TYPE_GLOBAL
public static final int VEHICLE_AREA_TYPE_GLOBAL
Used for global properties. A global property is a property that applies to the entire
vehicle and is not associated with a specific vehicle area type. For example, VehiclePropertyIds.FUEL_LEVEL
and VehiclePropertyIds.HVAC_STEERING_WHEEL_HEAT
are global properties. A global
property is always mapped to VEHICLE_AREA_TYPE_GLOBAL
.
Constant Value: 0 (0x00000000)
VEHICLE_AREA_TYPE_MIRROR
public static final int VEHICLE_AREA_TYPE_MIRROR
Area type is Mirror
Constant Value: 5 (0x00000005)
VEHICLE_AREA_TYPE_SEAT
public static final int VEHICLE_AREA_TYPE_SEAT
Area type is Seat
Constant Value: 3 (0x00000003)
VEHICLE_AREA_TYPE_WHEEL
public static final int VEHICLE_AREA_TYPE_WHEEL
Area type is Wheel
Constant Value: 6 (0x00000006)
VEHICLE_AREA_TYPE_WINDOW
public static final int VEHICLE_AREA_TYPE_WINDOW
Area type is Window
Constant Value: 2 (0x00000002)