# CarPropertyManager.GetPropertyRequest

Summary: [Methods](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest#inhmethods)  

# CarPropertyManager.GetPropertyRequest


`
public
static
final

class
CarPropertyManager.GetPropertyRequest
`


`

extends Object


`

`


implements

`[CarPropertyManager.AsyncPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest)`


`

|---|---------------------------------------------------------------------|
| java.lang.Object                                                       ||
| ↳ | android.car.hardware.property.CarPropertyManager.GetPropertyRequest |

<br />

*** ** * ** ***

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

## Summary

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

Returns the area ID for the property of this request.

<br />

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

**See also:**

- [CarPropertyManager.AsyncPropertyRequest.getAreaId()](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getAreaId())  

### getPropertyId

```
public 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 /> |

**See also:**

- [CarPropertyManager.AsyncPropertyRequest.getPropertyId()](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getPropertyId())  

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

<br />

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

**See also:**

- [CarPropertyManager.AsyncPropertyRequest.getRequestId()](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.AsyncPropertyRequest#getRequestId())  

### toString

```
public String toString ()
```

Prints out debug message.

<br />

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