Share via


DisplayManager.EventTypeDisplayState Field

Definition

Event type for when a display state changes.

[Android.Runtime.Register("EVENT_TYPE_DISPLAY_STATE", ApiSince=36)]
public const long EventTypeDisplayState = 16;
[<Android.Runtime.Register("EVENT_TYPE_DISPLAY_STATE", ApiSince=36)>]
val mutable EventTypeDisplayState : int64

Field Value

Value = 16
Attributes

Remarks

Event type for when a display state changes. DisplayListener#onDisplayChanged callback is triggered whenever the state of the display changes. New state values can be retrieved via Display#getState().

Java documentation for android.hardware.display.DisplayManager.EVENT_TYPE_DISPLAY_STATE.

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.

Applies to