# PointerCaptureComponent.PointerCaptureState

Artifact: [androidx.xr.scenecore:scenecore](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/PointerCaptureComponent.kt+class:androidx.xr.scenecore.PointerCaptureComponent.PointerCaptureState) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class PointerCaptureComponent.PointerCaptureState
```

<br />

*** ** * ** ***

Defines the possible states of a `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent`.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState#ACTIVE()` Pointer Capture is enabled for this component. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState#PAUSED()` Pointer Capture is temporarily disabled for this component. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState#STOPPED()` Pointer Capture has been stopped for this component and no more callbacks will get triggered. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/PointerCaptureComponent.PointerCaptureState#toString()()` |

## Public companion properties

### ACTIVE

```
val ACTIVE: PointerCaptureComponent.PointerCaptureState
```

Pointer Capture is enabled for this component.

### PAUSED

```
val PAUSED: PointerCaptureComponent.PointerCaptureState
```

Pointer Capture is temporarily disabled for this component. The component can resume capture from this state.

### STOPPED

```
val STOPPED: PointerCaptureComponent.PointerCaptureState
```

Pointer Capture has been stopped for this component and no more callbacks will get triggered. The component will not recover from this state. This can occur if the underlying system replaces this pointer capture request by another one.

## Public functions

### toString

```
open fun toString(): String
```