# CarPropertyManager.SetPropertyResult

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

# CarPropertyManager.SetPropertyResult

`
public
static
final

class
CarPropertyManager.SetPropertyResult
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

A successful result for[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.SetPropertyResult#getAreaId())`() ` Gets the area ID this result is for.                                                                                  |
| ` int`    | ` `[getPropertyId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult#getPropertyId())`() ` Gets the property ID this result is for.                                                                      |
| ` int`    | ` `[getRequestId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult#getRequestId())`() ` Gets the ID for the request this result is for.                                                                 |
| ` long`   | ` `[getUpdateTimestampNanos](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult#getUpdateTimestampNanos())`() ` Gets the timestamp in nanoseconds at which the property was updated to the desired value. |
| ` String` | ` `[toString](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.SetPropertyResult#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 ()
```

Gets the area ID this result is for.

<br />

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

### getPropertyId

```
public int getPropertyId ()
```

Gets the property ID this result is for.

<br />

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

### getRequestId

```
public int getRequestId ()
```

Gets the ID for the request this result is for.

<br />

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

### getUpdateTimestampNanos

```
public long getUpdateTimestampNanos ()
```

Gets the timestamp in nanoseconds at which the property was updated to the desired value.

The timestamp will use the same time base as[SystemClock.elapsedRealtimeNanos()](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtimeNanos()).

NOTE: If`waitForPropertyUpdate`is set to`false`for the request, then this value will be the time when the async set request is successfully sent to the vehicle bus, not when the property is updated since we have no way of knowing that.

NOTE: Timestamp should be synchronized with other signals from the platform (e.g.[Location](https://developer.android.com/reference/android/location/Location)and[SensorEvent](https://developer.android.com/reference/android/hardware/SensorEvent)instances). Ideally, timestamp synchronization error should be below 1 millisecond.

<br />

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

### toString

```
public String toString ()
```

Prints out debug message.

<br />

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