IWindowManager.GetDisplayEngagementMode(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the user engagement mode for a specific display.
[Android.Runtime.Register("getDisplayEngagementMode", "(I)I", "GetGetDisplayEngagementMode_IHandler:Android.Views.IWindowManager, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public virtual Android.Views.WindowManagerDisplayEngagementModes GetDisplayEngagementMode(int displayId);
[<Android.Runtime.Register("getDisplayEngagementMode", "(I)I", "GetGetDisplayEngagementMode_IHandler:Android.Views.IWindowManager, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member GetDisplayEngagementMode : int -> Android.Views.WindowManagerDisplayEngagementModes
override this.GetDisplayEngagementMode : int -> Android.Views.WindowManagerDisplayEngagementModes
Parameters
- displayId
- Int32
The display to get the engagement mode for.
Returns
The engagement mode for the given display. Returns the system default if the display is not found. Value is either 0 or a combination of the following: ENGAGEMENT_MODE_FLAG_VISUALS_ON; ENGAGEMENT_MODE_FLAG_AUDIO_ON
- Attributes
Remarks
Gets the user engagement mode for a specific display.
Android reference for android.view.WindowManager.getDisplayEngagementMode.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.