# ProjectedDisplayController.PresentationMode

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

*** ** * ** ***


```
@ExperimentalProjectedApi
public final class ProjectedDisplayController.PresentationMode
```

<br />

*** ** * ** ***

The PresentationMode represents how an app is currently able to present content to the user on a projected device.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode` | `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#AUDIO_ON()` Indicates the presentation mode includes an audio presentation. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode` | `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#VISUALS_ON()` Indicates the presentation mode includes a visual presentation. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `int` | `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#toString()()` |

## Public fields

### AUDIO_ON

```
public static final @NonNull ProjectedDisplayController.PresentationMode AUDIO_ON
```

Indicates the presentation mode includes an audio presentation. This can be active with or without `https://developer.android.com/reference/androidx/xr/projected/ProjectedDisplayController.PresentationMode#VISUALS_ON()`. When the audio presentation mode is on, the speakers on the Projected device are on. When AUDIO_ON is present, an exercise app could play audio that communicates how far the user has reached in their current run. when AUDIO_ON is not present, the app's attempt to play audio will not work.

### VISUALS_ON

```
public static final @NonNull ProjectedDisplayController.PresentationMode VISUALS_ON
```

Indicates the presentation mode includes a visual presentation. When the visual presentation mode is on, the display on the Projected device is on. When VISUALS_ON is present, an exercise app could draw UI that indicates how far the user has reached in their current run. when VISUALS_ON is not present, the app's attempt to draw will not work.

## Public methods

### equals

```
public boolean equals(Object other)
```

### hashCode

```
public int hashCode()
```

### toString

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