Share via


DisplayManager.EventTypeDisplayRefreshRate Field

Definition

Event type for when a display's refresh rate changes.

[Android.Runtime.Register("EVENT_TYPE_DISPLAY_REFRESH_RATE", ApiSince=36)]
public const long EventTypeDisplayRefreshRate = 8;
[<Android.Runtime.Register("EVENT_TYPE_DISPLAY_REFRESH_RATE", ApiSince=36)>]
val mutable EventTypeDisplayRefreshRate : int64

Field Value

Value = 8
Attributes

Remarks

Event type for when a display's refresh rate changes. DisplayListener#onDisplayChanged callback is triggered whenever the refresh rate of the display changes. New refresh rate values can be retrieved via Display#getRefreshRate().

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

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