Share via


Display.GetSupportedRefreshRates Method

Definition

Get the supported refresh rates of this display in frames per second.

[Android.Runtime.Register("getSupportedRefreshRates", "()[F", "GetGetSupportedRefreshRatesHandler")]
public virtual float[]? GetSupportedRefreshRates();
[Android.Runtime.Register("getSupportedRefreshRates", "()[F", "GetGetSupportedRefreshRatesHandler")]
public virtual float[] GetSupportedRefreshRates();
[<Android.Runtime.Register("getSupportedRefreshRates", "()[F", "GetGetSupportedRefreshRatesHandler")>]
abstract member GetSupportedRefreshRates : unit -> single[]
override this.GetSupportedRefreshRates : unit -> single[]

Returns

Single[]
Attributes

Remarks

Get the supported refresh rates of this display in frames per second.

<ul> <li> Android version Build.VERSION_CODES#BAKLAVA and above: returns display supported render rates. <li> Android version Build.VERSION_CODES#VANILLA_ICE_CREAM and below: This method only returns refresh rates for the display's default modes. For more options, use #getSupportedModes(). </ul>

Java documentation for android.view.Display.getSupportedRefreshRates().

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