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

VehicleAreaSeat

public final class VehicleAreaSeat
extends Object

java.lang.Object
   ↳ android.car.VehicleAreaSeat


Object used to indicate the area value for car properties which have area type VehicleAreaType#VEHICLE_AREA_TYPE_SEAT.

The constants defined by VehicleAreaSeat indicate the position for area type VehicleAreaType#VEHICLE_AREA_TYPE_SEAT. A property can have a single or a combination of positions. Developers can query the position using CarPropertyManager.getAreaId(int, int).

Refer to CarPropertyConfig.getAreaIds() for more information about areaId.

Summary

Constants

int SEAT_ROW_1_CENTER

Row 1 center seat

int SEAT_ROW_1_LEFT

Row 1 left side seat

int SEAT_ROW_1_RIGHT

Row 1 right side seat

int SEAT_ROW_2_CENTER

Row 2 center seat

int SEAT_ROW_2_LEFT

Row 2 left side seat

int SEAT_ROW_2_RIGHT

Row 2 right side seat

int SEAT_ROW_3_CENTER

Row 3 center seat

int SEAT_ROW_3_LEFT

Row 3 left side seat

int SEAT_ROW_3_RIGHT

Row 3 right side seat

int SEAT_UNKNOWN

List of vehicle's seats.

Inherited methods

Constants

SEAT_ROW_1_CENTER

Added in API level 29
public static final int SEAT_ROW_1_CENTER

Row 1 center seat

Constant Value: 2 (0x00000002)

SEAT_ROW_1_LEFT

Added in API level 29
public static final int SEAT_ROW_1_LEFT

Row 1 left side seat

Constant Value: 1 (0x00000001)

SEAT_ROW_1_RIGHT

Added in API level 29
public static final int SEAT_ROW_1_RIGHT

Row 1 right side seat

Constant Value: 4 (0x00000004)

SEAT_ROW_2_CENTER

Added in API level 29
public static final int SEAT_ROW_2_CENTER

Row 2 center seat

Constant Value: 32 (0x00000020)

SEAT_ROW_2_LEFT

Added in API level 29
public static final int SEAT_ROW_2_LEFT

Row 2 left side seat

Constant Value: 16 (0x00000010)

SEAT_ROW_2_RIGHT

Added in API level 29
public static final int SEAT_ROW_2_RIGHT

Row 2 right side seat

Constant Value: 64 (0x00000040)

SEAT_ROW_3_CENTER

Added in API level 29
public static final int SEAT_ROW_3_CENTER

Row 3 center seat

Constant Value: 512 (0x00000200)

SEAT_ROW_3_LEFT

Added in API level 29
public static final int SEAT_ROW_3_LEFT

Row 3 left side seat

Constant Value: 256 (0x00000100)

SEAT_ROW_3_RIGHT

Added in API level 29
public static final int SEAT_ROW_3_RIGHT

Row 3 right side seat

Constant Value: 1024 (0x00000400)

SEAT_UNKNOWN

Added in API level 29
public static final int SEAT_UNKNOWN

List of vehicle's seats.

Constant Value: 0 (0x00000000)