# CarPropertyManager.AsyncPropertyRequest

Summary:[Methods](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#pubmethods)  

# CarPropertyManager.AsyncPropertyRequest

`
public
static


interface
CarPropertyManager.AsyncPropertyRequest
`  
`


`

|-----------------------------------------------------------------------|
| android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest |

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [CarPropertyManager.GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest),[CarPropertyManager.SetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)\<T\> |-----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [CarPropertyManager.GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest)      | A request for[CarPropertyManager.getPropertiesAsync(List, long, CancellationSignal, Executor, GetPropertyCallback)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.GetPropertyRequest>,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.GetPropertyCallback)).    | | [CarPropertyManager.SetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyRequest)\<T\> | A request for[CarPropertyManager.setPropertiesAsync(List, long, CancellationSignal, Executor, SetPropertyCallback)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#setPropertiesAsync(java.util.List<android.car.hardware.property.CarPropertyManager.SetPropertyRequest<?>>,%20long,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.car.hardware.property.CarPropertyManager.SetPropertyCallback)). | |

<br />

*** ** * ** ***

An async get/set property request.

## Summary

|                                                                                                    ### Public methods                                                                                                    ||
|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract int` | ` `[getAreaId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getAreaId())`() ` Returns the area ID for the property of this request.    |
| ` abstract int` | ` `[getPropertyId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getPropertyId())`() ` Returns the ID for the property of this request. |
| ` abstract int` | ` `[getRequestId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#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.

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### getPropertyId

```
public abstract int getPropertyId ()
```

Returns the ID for the property of this request.

The ID must be one of the[VehiclePropertyIds](https://developer.android.com/reference/android/car/VehiclePropertyIds)or vendor property IDs.

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### 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.

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |