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 | |
---|---|
Public methods
getAreaId
public int getAreaId ()
Returns the area ID for the property of this request.
Returns | |
---|---|
int |
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.
Returns | |
---|---|
int |
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.
Returns | |
---|---|
int |