# CarPropertyManager.GetPropertyResult

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

# CarPropertyManager.GetPropertyResult

`
public
static
final

class
CarPropertyManager.GetPropertyResult
`  
`

extends Object


``


`

|---|-------------------------------------------------------------------------|
| java.lang.Object                                                           ||
| ↳ | android.car.hardware.property.CarPropertyManager.GetPropertyResult\<T\> |

<br />

*** ** * ** ***

A successful result for[GetPropertyCallback](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyCallback).

## Summary

|                                                                                                                                                               ### Public methods                                                                                                                                                               ||
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int`    | ` `[getAreaId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#getAreaId())`() ` Returns the area ID for this result.                                                                                                                                                    |
| ` int`    | ` `[getPropertyId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#getPropertyId())`() ` Returns the property ID for this result.                                                                                                                                        |
| ` int`    | ` `[getRequestId](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#getRequestId())`() ` Returns the unique ID for the[GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest)this result is for. |
| ` long`   | ` `[getTimestampNanos](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#getTimestampNanos())`() ` Returns the timestamp in nanoseconds at which the value for the vehicle property happened.                                                                              |
| ` T`      | ` `[getValue](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#getValue())`() ` Returns the property's value.                                                                                                                                                             |
| ` String` | ` `[toString](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyResult#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 ()
```

Returns the area ID for this result.

<br />

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

### getPropertyId

```
public int getPropertyId ()
```

Returns the property ID for this result.

<br />

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

### getRequestId

```
public int getRequestId ()
```

Returns the unique ID for the[GetPropertyRequest](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager.GetPropertyRequest)this result is for.

<br />

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

### getTimestampNanos

```
public long getTimestampNanos ()
```

Returns the timestamp in nanoseconds at which the value for the vehicle property happened. For a given vehicle property, each new timestamp should be monotonically increasing using the same time base as[SystemClock.elapsedRealtimeNanos()](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtimeNanos()).

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

### getValue

```
public T getValue ()
```

Returns the property's value.

<br />

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

### toString

```
public String toString ()
```

Prints out debug message.

<br />

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