DisplayRequest
Namespace: XPlat.Device.Display
Represents a display request.
Supported platforms
Platform | Version |
Xamarin.Android | 9.0 |
Xamarin.iOS | 1.0 |
UWP | 10.0.16299 |
Example
Constructors
DisplayRequest(Android.Views.Window) - Android
Parameters
currentWindow (Android.Views.Window)
The Window which will be used to request the wake lock.
Properties
Originator - Android
Gets the Android Window instance.
Originator - Windows
Gets the Windows DisplayRequest instance.
Methods
RequestActive()
Activates a display request.
RequestRelease()
Deactivates a display request.
Last updated