# TrackingState

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/TrackingState.kt+class:androidx.xr.arcore.TrackingState) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

*** ** * ** ***


```
public final class TrackingState
```

<br />

*** ** * ** ***

Describes the state of the tracking performed.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/TrackingState` | `https://developer.android.com/reference/androidx/xr/arcore/TrackingState#PAUSED()` Tracking has been paused for this instance but may be resumed in the future. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/TrackingState` | `https://developer.android.com/reference/androidx/xr/arcore/TrackingState#STOPPED()` Tracking has stopped for this instance and will never be resumed in the future. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/TrackingState` | `https://developer.android.com/reference/androidx/xr/arcore/TrackingState#TRACKING()` The trackable is currently tracked and its pose is current. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/arcore/TrackingState#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/arcore/TrackingState` useful for debugging. |

## Public fields

### PAUSED

```
public static final @NonNull TrackingState PAUSED
```

Tracking has been paused for this instance but may be resumed in the future.

### STOPPED

```
public static final @NonNull TrackingState STOPPED
```

Tracking has stopped for this instance and will never be resumed in the future.

### TRACKING

```
public static final @NonNull TrackingState TRACKING
```

The trackable is currently tracked and its pose is current.

## Public methods

### toString

```
public @NonNull String toString()
```

Returns a string representation of `https://developer.android.com/reference/androidx/xr/arcore/TrackingState` useful for debugging.