Stay organized with collections
Save and categorize content based on your preferences.
CarPropertyManager.AsyncPropertyRequest
public
static
interface
CarPropertyManager.AsyncPropertyRequest
android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest
|
Known indirect subclasses
|
An async get/set property request.
Summary
Public methods |
abstract
int
|
getAreaId()
Returns the area ID for the property of this request.
|
abstract
int
|
getPropertyId()
Returns the ID for the property of this request.
|
abstract
int
|
getRequestId()
Returns the unique ID for this request.
|
Public methods
getAreaId
public abstract int getAreaId ()
Returns the area ID for the property of this request.
getPropertyId
public abstract int getPropertyId ()
Returns the ID for the property of this request.
The ID must be one of the VehiclePropertyIds
or vendor property IDs.
getRequestId
public abstract int getRequestId ()
Returns the unique ID for this request.
Each request must have a unique request ID so the responses can be differentiated.
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.
[null,null,["Last updated 2025-02-17 UTC."],[],[],null,["# CarPropertyManager.AsyncPropertyRequest\n\nSummary: [Methods](#pubmethods) \n\nCarPropertyManager.AsyncPropertyRequest\n=======================================\n\n\n`\npublic\nstatic\n\n\ninterface\nCarPropertyManager.AsyncPropertyRequest\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------------------------------|\n| android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [CarPropertyManager.GetPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest), [CarPropertyManager.SetPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)\\\u003cT\\\u003e |------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [CarPropertyManager.GetPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest) | A request for [CarPropertyManager#getPropertiesAsync(List, long, CancellationSignal, Executor, GetPropertyCallback)](/reference/android/car/hardware/property/CarPropertyManager#getPropertiesAsync(java.util.List\u003candroid.car.hardware.property.CarPropertyManager.GetPropertyRequest\u003e,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.GetPropertyCallback)). | | [CarPropertyManager.SetPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)\\\u003cT\\\u003e | A request for [CarPropertyManager#setPropertiesAsync(List, long, CancellationSignal, Executor, SetPropertyCallback)](/reference/android/car/hardware/property/CarPropertyManager#setPropertiesAsync(java.util.List\u003candroid.car.hardware.property.CarPropertyManager.SetPropertyRequest\u003c?\u003e\u003e,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.SetPropertyCallback)). | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn async get/set property request.\n\nSummary\n-------\n\n| ### Public methods ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract int` | ` `[getAreaId](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getAreaId())`() ` Returns the area ID for the property of this request. |\n| ` abstract int` | ` `[getPropertyId](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getPropertyId())`() ` Returns the ID for the property of this request. |\n| ` abstract int` | ` `[getRequestId](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getRequestId())`() ` Returns the unique ID for this request. |\n\nPublic methods\n--------------\n\n### getAreaId\n\n```\npublic abstract int getAreaId ()\n```\n\nReturns the area ID for the property of this request.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |\n\n### getPropertyId\n\n```\npublic abstract int getPropertyId ()\n```\n\nReturns the ID for the property of this request.\n\nThe ID must be one of the [VehiclePropertyIds](/reference/android/car/VehiclePropertyIds) or vendor property IDs.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |\n\n### getRequestId\n\n```\npublic abstract int getRequestId ()\n```\n\nReturns the unique ID for this request.\n\nEach request must have a unique request ID so the responses can be differentiated.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |"]]