WindowEngagementInfo.EngagementMode


public final class WindowEngagementInfo.EngagementMode


Represents a distinct user engagement mode with an application.

See also
engagementModes

Summary

Public fields

static final @NonNull WindowEngagementInfo.EngagementMode

Indicates the engagement mode includes an audio presentation.

static final @NonNull WindowEngagementInfo.EngagementMode

Indicates the engagement mode is optimized for precise pointer layout.

static final @NonNull WindowEngagementInfo.EngagementMode

Indicates the engagement mode is optimized for touch layout.

static final @NonNull WindowEngagementInfo.EngagementMode

Indicates the engagement mode includes a visual presentation.

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

AUDIO_ON

public static final @NonNull WindowEngagementInfo.EngagementMode AUDIO_ON

Indicates the engagement mode includes an audio presentation. This can be active with or without VISUALS_ON. When active without visuals, it signifies an audio-only experience.

PRECISE_POINTER

public static final @NonNull WindowEngagementInfo.EngagementMode PRECISE_POINTER

Indicates the engagement mode is optimized for precise pointer layout. This mode is usually active when a physical keyboard and a physical mouse or touchpad are connected and enabled on a large screen device. This mode is mutually exclusive with TOUCH.

TOUCH

public static final @NonNull WindowEngagementInfo.EngagementMode TOUCH

Indicates the engagement mode is optimized for touch layout. This is usually the default engagement layout mode. This mode is mutually exclusive with PRECISE_POINTER.

VISUALS_ON

public static final @NonNull WindowEngagementInfo.EngagementMode VISUALS_ON

Indicates the engagement mode includes a visual presentation. When this mode is active, the user can visually see the app UI on a visible window.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()