Added in version 37.2

WindowManager.DisplayEngagementModeState


public static final class WindowManager.DisplayEngagementModeState
extends Object

java.lang.Object
   ↳ android.view.WindowManager.DisplayEngagementModeState


A class that holds information about the display engagement mode.

Summary

Public methods

int getDisplayId()

Returns the display ID.

int getEngagementModeFlags()

Returns the engagement mode flags.

Inherited methods

Public methods

getDisplayId

Added in version 37.2
public int getDisplayId ()

Returns the display ID.

Returns
int

getEngagementModeFlags

Added in version 37.2
public int getEngagementModeFlags ()

Returns the engagement mode flags.

Returns
int Value is either 0 or a combination of the following: