Partager 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")>]
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.

This method only returns refresh rates for the display's default modes. For more options, use #getSupportedModes().

This member is deprecated. use #getSupportedModes() instead

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