Added in API level 34

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

Added in API level 34
public int getAreaId ()

Returns the area ID for the property of this request.

Returns
int

getPropertyId

Added in API level 34
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

Added in API level 34
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

toString

Added in API level 34
public String toString ()

Prints out debug message.

Returns
String