DisplayManager.EventTypeDisplayBrightness Field

Definition

Event type to register for a display's brightness changes.

[Android.Runtime.Register("EVENT_TYPE_DISPLAY_BRIGHTNESS", ApiSince=36)]
public const long EventTypeDisplayBrightness = 32;
[<Android.Runtime.Register("EVENT_TYPE_DISPLAY_BRIGHTNESS", ApiSince=36)>]
val mutable EventTypeDisplayBrightness : int64

Field Value

Value = 32
Attributes

Remarks

Event type to register for a display's brightness changes. This notification is sent through the DisplayListener#onDisplayChanged callback method. New brightness values can be retrieved via android.view.Display#getBrightnessInfo().

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

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