Stay organized with collections
Save and categorize content based on your preferences.
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
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
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_VENDOR
public static final int VEHICLE_AREA_TYPE_VENDOR
Area type Vendor where the meaning of each area ID is vendor defined. For a specific
property, each area ID within this area type is unique with no overlapping bits set.
Constant Value:
7
(0x00000007)
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)
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,["# VehicleAreaType\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nVehicleAreaType\n===============\n\n\n`\npublic\n\nfinal\n\nclass\nVehicleAreaType\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|-----------------------------|\n| java.lang.Object ||\n| ↳ | android.car.VehicleAreaType |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nList of different supported area types for vehicle properties.\n\nThe constants defined by `VehicleAreaType` indicate the different vehicle area types for\nproperties. A property is mapped to only one `VehicleAreaType`. Developers can retrieve the\n`VehicleAreaType` using [CarPropertyConfig.getAreaType()](/reference/android/car/hardware/CarPropertyConfig#getAreaType()). Refer\nto [CarPropertyConfig.getAreaIds()](/reference/android/car/hardware/CarPropertyConfig#getAreaIds()) for more information about area\nIDs.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [VEHICLE_AREA_TYPE_DOOR](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_DOOR) Area type is Door |\n| `int` | [VEHICLE_AREA_TYPE_GLOBAL](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_GLOBAL) Used for global properties. |\n| `int` | [VEHICLE_AREA_TYPE_MIRROR](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_MIRROR) Area type is Mirror |\n| `int` | [VEHICLE_AREA_TYPE_SEAT](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_SEAT) Area type is Seat |\n| `int` | [VEHICLE_AREA_TYPE_VENDOR](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_VENDOR) Area type Vendor where the meaning of each area ID is vendor defined. |\n| `int` | [VEHICLE_AREA_TYPE_WHEEL](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_WHEEL) Area type is Wheel |\n| `int` | [VEHICLE_AREA_TYPE_WINDOW](/reference/android/car/VehicleAreaType#VEHICLE_AREA_TYPE_WINDOW) Area type is Window |\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### VEHICLE_AREA_TYPE_DOOR\n\n```\npublic static final int VEHICLE_AREA_TYPE_DOOR\n```\n\nArea type is Door\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### VEHICLE_AREA_TYPE_GLOBAL\n\n```\npublic static final int VEHICLE_AREA_TYPE_GLOBAL\n```\n\nUsed for global properties. A global property is a property that applies to the entire\nvehicle and is not associated with a specific vehicle area type. For example, [VehiclePropertyIds.FUEL_LEVEL](/reference/android/car/VehiclePropertyIds#FUEL_LEVEL) and [VehiclePropertyIds.HVAC_STEERING_WHEEL_HEAT](/reference/android/car/VehiclePropertyIds#HVAC_STEERING_WHEEL_HEAT) are global properties. A global\nproperty is always mapped to `VEHICLE_AREA_TYPE_GLOBAL`.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### VEHICLE_AREA_TYPE_MIRROR\n\n```\npublic static final int VEHICLE_AREA_TYPE_MIRROR\n```\n\nArea type is Mirror\n\n\u003cbr /\u003e\n\nConstant Value:\n\n5\n(0x00000005)\n\n\n### VEHICLE_AREA_TYPE_SEAT\n\n```\npublic static final int VEHICLE_AREA_TYPE_SEAT\n```\n\nArea type is Seat\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### VEHICLE_AREA_TYPE_VENDOR\n\n```\npublic static final int VEHICLE_AREA_TYPE_VENDOR\n```\n\nArea type Vendor where the meaning of each area ID is vendor defined. For a specific\nproperty, each area ID within this area type is unique with no overlapping bits set.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n7\n(0x00000007)\n\n\n### VEHICLE_AREA_TYPE_WHEEL\n\n```\npublic static final int VEHICLE_AREA_TYPE_WHEEL\n```\n\nArea type is Wheel\n\n\u003cbr /\u003e\n\nConstant Value:\n\n6\n(0x00000006)\n\n\n### VEHICLE_AREA_TYPE_WINDOW\n\n```\npublic static final int VEHICLE_AREA_TYPE_WINDOW\n```\n\nArea type is Window\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)"]]