# CarPropertyManager.PropertyAsyncError

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

# CarPropertyManager.PropertyAsyncError

`
public
static
final

class
CarPropertyManager.PropertyAsyncError
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

An error result for[GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback)or[SetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyCallback).

## Summary

|                                                                                                 ### Public methods                                                                                                 ||
|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int`    | ` `[getAreaId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#getAreaId())`() `                                                            |
| ` int`    | ` `[getDetailedErrorCode](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#getDetailedErrorCode())`() ` Gets the detailed system error code. |
| ` int`    | ` `[getErrorCode](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#getErrorCode())`() `                                                      |
| ` int`    | ` `[getPropertyId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#getPropertyId())`() `                                                    |
| ` int`    | ` `[getRequestId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#getRequestId())`() `                                                      |
| ` String` | ` `[toString](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.PropertyAsyncError#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 ()
```

<br />

<br />

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

### getDetailedErrorCode

```
public int getDetailedErrorCode ()
```

Gets the detailed system error code. These must be a value defined in[DetailedErrorCode](https://developer.android.com/reference/android/car/hardware/property/DetailedErrorCode). The values in[DetailedErrorCode](https://developer.android.com/reference/android/car/hardware/property/DetailedErrorCode)may be extended in the future to include additional error codes.

<br />

|                                 Returns                                 ||
|-------|------------------------------------------------------------------|
| `int` | the detailed error code if it is set, otherwise set to 0. <br /> |

### getErrorCode

```
public int getErrorCode ()
```

<br />

<br />

|                                                                                                                                                                                                                                                                                             Returns                                                                                                                                                                                                                                                                                              ||
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | Value is com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK,[CarPropertyManager.STATUS_ERROR_INTERNAL_ERROR](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#STATUS_ERROR_INTERNAL_ERROR),[CarPropertyManager.STATUS_ERROR_NOT_AVAILABLE](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#STATUS_ERROR_NOT_AVAILABLE), or[CarPropertyManager.STATUS_ERROR_TIMEOUT](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#STATUS_ERROR_TIMEOUT) <br /> |

### getPropertyId

```
public int getPropertyId ()
```

<br />

<br />

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

### getRequestId

```
public int getRequestId ()
```

<br />

<br />

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

### toString

```
public String toString ()
```

Prints out debug message.

<br />

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