Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited methods |
From class
java.lang.Object
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
SEAT_ROW_1_CENTER
public static final int SEAT_ROW_1_CENTER
Row 1 center seat
Constant Value:
2
(0x00000002)
SEAT_ROW_1_LEFT
public static final int SEAT_ROW_1_LEFT
Row 1 left side seat
Constant Value:
1
(0x00000001)
SEAT_ROW_1_RIGHT
public static final int SEAT_ROW_1_RIGHT
Row 1 right side seat
Constant Value:
4
(0x00000004)
SEAT_ROW_2_CENTER
public static final int SEAT_ROW_2_CENTER
Row 2 center seat
Constant Value:
32
(0x00000020)
SEAT_ROW_2_LEFT
public static final int SEAT_ROW_2_LEFT
Row 2 left side seat
Constant Value:
16
(0x00000010)
SEAT_ROW_2_RIGHT
public static final int SEAT_ROW_2_RIGHT
Row 2 right side seat
Constant Value:
64
(0x00000040)
SEAT_ROW_3_CENTER
public static final int SEAT_ROW_3_CENTER
Row 3 center seat
Constant Value:
512
(0x00000200)
SEAT_ROW_3_LEFT
public static final int SEAT_ROW_3_LEFT
Row 3 left side seat
Constant Value:
256
(0x00000100)
SEAT_ROW_3_RIGHT
public static final int SEAT_ROW_3_RIGHT
Row 3 right side seat
Constant Value:
1024
(0x00000400)
SEAT_UNKNOWN
public static final int SEAT_UNKNOWN
List of vehicle's seats.
Constant Value:
0
(0x00000000)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-17 UTC."],[],[],null,["# VehicleAreaSeat\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nVehicleAreaSeat\n===============\n\n\n`\npublic\n\nfinal\n\nclass\nVehicleAreaSeat\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|-----------------------------|\n| java.lang.Object ||\n| ↳ | android.car.VehicleAreaSeat |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nObject used to indicate the area value for car properties which have area type\n[VehicleAreaType#VEHICLE_AREA_TYPE_SEAT](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_SEAT).\n\n\nThe constants defined by [VehicleAreaSeat](/reference/android/car/VehicleAreaSeat) indicate the position for area type\n[VehicleAreaType#VEHICLE_AREA_TYPE_SEAT](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_SEAT). A property can have a single or a combination of\npositions. Developers can query the position using\n[CarPropertyManager.getAreaId(int, int)](/reference/android/car/hardware/property/CarPropertyManager#getAreaId(int,%20int)).\n\n\nRefer to [CarPropertyConfig.getAreaIds()](/reference/android/car/hardware/CarPropertyConfig#getAreaIds()) for more information about\nareaId.\n\n\u003cbr /\u003e\n\nSummary\n-------\n\n| ### Constants ||\n|-------|---------------------------------------------------------------------------------------------------|\n| `int` | [SEAT_ROW_1_CENTER](/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_CENTER) Row 1 center seat |\n| `int` | [SEAT_ROW_1_LEFT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_LEFT) Row 1 left side seat |\n| `int` | [SEAT_ROW_1_RIGHT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_1_RIGHT) Row 1 right side seat |\n| `int` | [SEAT_ROW_2_CENTER](/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_CENTER) Row 2 center seat |\n| `int` | [SEAT_ROW_2_LEFT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_LEFT) Row 2 left side seat |\n| `int` | [SEAT_ROW_2_RIGHT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_2_RIGHT) Row 2 right side seat |\n| `int` | [SEAT_ROW_3_CENTER](/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_CENTER) Row 3 center seat |\n| `int` | [SEAT_ROW_3_LEFT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_LEFT) Row 3 left side seat |\n| `int` | [SEAT_ROW_3_RIGHT](/reference/android/car/VehicleAreaSeat#SEAT_ROW_3_RIGHT) Row 3 right side seat |\n| `int` | [SEAT_UNKNOWN](/reference/android/car/VehicleAreaSeat#SEAT_UNKNOWN) List of vehicle's seats. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` 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() ` | ||\n\nConstants\n---------\n\n### SEAT_ROW_1_CENTER\n\n```\npublic static final int SEAT_ROW_1_CENTER\n```\n\nRow 1 center seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### SEAT_ROW_1_LEFT\n\n```\npublic static final int SEAT_ROW_1_LEFT\n```\n\nRow 1 left side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### SEAT_ROW_1_RIGHT\n\n```\npublic static final int SEAT_ROW_1_RIGHT\n```\n\nRow 1 right side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### SEAT_ROW_2_CENTER\n\n```\npublic static final int SEAT_ROW_2_CENTER\n```\n\nRow 2 center seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n32\n(0x00000020)\n\n\n### SEAT_ROW_2_LEFT\n\n```\npublic static final int SEAT_ROW_2_LEFT\n```\n\nRow 2 left side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n16\n(0x00000010)\n\n\n### SEAT_ROW_2_RIGHT\n\n```\npublic static final int SEAT_ROW_2_RIGHT\n```\n\nRow 2 right side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n64\n(0x00000040)\n\n\n### SEAT_ROW_3_CENTER\n\n```\npublic static final int SEAT_ROW_3_CENTER\n```\n\nRow 3 center seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n512\n(0x00000200)\n\n\n### SEAT_ROW_3_LEFT\n\n```\npublic static final int SEAT_ROW_3_LEFT\n```\n\nRow 3 left side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n256\n(0x00000100)\n\n\n### SEAT_ROW_3_RIGHT\n\n```\npublic static final int SEAT_ROW_3_RIGHT\n```\n\nRow 3 right side seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1024\n(0x00000400)\n\n\n### SEAT_UNKNOWN\n\n```\npublic static final int SEAT_UNKNOWN\n```\n\nList of vehicle's seats.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]