ProjectedDisplayController.PresentationMode


@ExperimentalProjectedApi
public final class ProjectedDisplayController.PresentationMode


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

Summary

Public fields

static final @NonNull ProjectedDisplayController.PresentationMode

Indicates the presentation mode includes an audio presentation.

static final @NonNull ProjectedDisplayController.PresentationMode

Indicates the presentation mode includes a visual presentation.

Public methods

boolean
equals(Object other)
int
@NonNull String

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 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()