Google 致力于为黑人社区推动种族平等。查看具体举措

VehicleAreaType

public final class VehicleAreaType
extends Object

java.lang.Object
   ↳ android.car.VehicleAreaType


Object used to indicate area types for car properties.

The constants defined by VehicleAreaType indicate the area types for properties. A property only has one area type. Developers can query the area type using CarPropertyConfig#getPropertyType().

Refer to VehicleAreaSeat and VehicleAreaWheel for more information about areaId.

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

Added in API level 29
public static final int VEHICLE_AREA_TYPE_DOOR

Area type is Door

Constant Value: 4 (0x00000004)

VEHICLE_AREA_TYPE_GLOBAL

Added in API level 29
public static final int VEHICLE_AREA_TYPE_GLOBAL

Used for global properties

Constant Value: 0 (0x00000000)

VEHICLE_AREA_TYPE_MIRROR

Added in API level 29
public static final int VEHICLE_AREA_TYPE_MIRROR

Area type is Mirror

Constant Value: 5 (0x00000005)

VEHICLE_AREA_TYPE_SEAT

Added in API level 29
public static final int VEHICLE_AREA_TYPE_SEAT

Area type is Seat

Constant Value: 3 (0x00000003)

VEHICLE_AREA_TYPE_WHEEL

Added in API level 29
public static final int VEHICLE_AREA_TYPE_WHEEL

Area type is Wheel

Constant Value: 6 (0x00000006)

VEHICLE_AREA_TYPE_WINDOW

Added in API level 29
public static final int VEHICLE_AREA_TYPE_WINDOW

Area type is Window

Constant Value: 2 (0x00000002)