Stay organized with collections
Save and categorize content based on your preferences.
CarPropertyManager.GetPropertyRequest
public
static
final
class
CarPropertyManager.GetPropertyRequest
extends Object
implements
CarPropertyManager.AsyncPropertyRequest
java.lang.Object
|
↳ |
android.car.hardware.property.CarPropertyManager.GetPropertyRequest
|
A request for CarPropertyManager#getPropertiesAsync(List, long, CancellationSignal,
Executor, GetPropertyCallback)
.
Summary
Public methods |
int
|
getAreaId()
Returns the area ID for the property of this request.
|
int
|
getPropertyId()
Returns the ID for the property of this request.
|
int
|
getRequestId()
Returns the unique ID for this request.
|
String
|
toString()
Prints out debug message.
|
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()
|
|
|
Public methods
getAreaId
public int getAreaId ()
Returns the area ID for the property of this request.
getPropertyId
public 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 int getRequestId ()
Returns the unique ID for this request.
Each request must have a unique request ID so the responses can be differentiated.
toString
public String toString ()
Prints out debug message.
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.GetPropertyRequest\n\nSummary: [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nCarPropertyManager.GetPropertyRequest\n=====================================\n\n\n`\npublic\nstatic\nfinal\n\nclass\nCarPropertyManager.GetPropertyRequest\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\nimplements\n\n`[CarPropertyManager.AsyncPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest)`\n\n\n`\n\n|---|---------------------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | android.car.hardware.property.CarPropertyManager.GetPropertyRequest |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA request for [CarPropertyManager#getPropertiesAsync(List, long, CancellationSignal,\nExecutor, 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)).\n\nSummary\n-------\n\n| ### Public methods ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` int` | ` `[getAreaId](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#getAreaId())`() ` Returns the area ID for the property of this request. |\n| ` int` | ` `[getPropertyId](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#getPropertyId())`() ` Returns the ID for the property of this request. |\n| ` int` | ` `[getRequestId](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#getRequestId())`() ` Returns the unique ID for this request. |\n| ` String` | ` `[toString](/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#toString())`() ` Prints out debug message. |\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| From interface ` `[android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest)` ` |-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract int` | ` `[getAreaId](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getAreaId())`() ` Returns the area ID for the property of this request. | | ` abstract int` | ` `[getPropertyId](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getPropertyId())`() ` Returns the ID for the property of this request. | | ` 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 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**See also:**\n\n- [CarPropertyManager.AsyncPropertyRequest.getAreaId()](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getAreaId()) \n\n### getPropertyId\n\n```\npublic 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**See also:**\n\n- [CarPropertyManager.AsyncPropertyRequest.getPropertyId()](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getPropertyId()) \n\n### getRequestId\n\n```\npublic 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 |\n\n**See also:**\n\n- [CarPropertyManager.AsyncPropertyRequest.getRequestId()](/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getRequestId()) \n\n### toString\n\n```\npublic String toString ()\n```\n\nPrints out debug message.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |"]]