# PerceptionStateExt

Added in 1.0.0

*** ** * ** ***


```
public final class PerceptionStateExt
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final https://developer.android.com/reference/androidx/xr/arcore/PerceptionState` | `https://developer.android.com/reference/androidx/xr/arcore/PerceptionStateExt#(androidx.xr.runtime.CoreState).getPerceptionState()(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/CoreState receiver)` State of the perception system at a specific point in time, corresponding to a `https://developer.android.com/reference/androidx/xr/runtime/CoreState`. |

## Public methods

### getPerceptionState

Artifact: [androidx.xr.arcore:arcore](https://developer.android.com/jetpack/androidx/releases/xr-arcore) [View Source](https://cs.android.com/search?q=file:androidx/xr/arcore/PerceptionStateExtender.kt+symbol:perceptionState) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

```
public static final PerceptionState getPerceptionState(@NonNull CoreState receiver)
```

State of the perception system at a specific point in time, corresponding to a `https://developer.android.com/reference/androidx/xr/runtime/CoreState`.

This extension property provides a consistent snapshot of all available perception data (e.g., hands, eyes, trackables, depth, etc.) for the `https://developer.android.com/reference/androidx/xr/runtime/CoreState#timeMark()` of the receiver. All perception state objects within a single `https://developer.android.com/reference/androidx/xr/arcore/PerceptionState` instance are synchronized to that particular moment in time.