Share via


Surface.FrameRateCompatibilityAtLeast Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.SurfaceFrameRateCompatibility enum directly instead of this field.

The surface requests a frame rate that is at least the specified frame rate.

[Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_AT_LEAST", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.SurfaceFrameRateCompatibility enum directly instead of this field.", true)]
public const Android.Views.SurfaceFrameRateCompatibility FrameRateCompatibilityAtLeast = 2;
[<Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_AT_LEAST", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.SurfaceFrameRateCompatibility enum directly instead of this field.", true)>]
val mutable FrameRateCompatibilityAtLeast : Android.Views.SurfaceFrameRateCompatibility

Field Value

Value = 2

Implements

Attributes

Remarks

The surface requests a frame rate that is at least the specified frame rate. This value should be used for UIs, animations, scrolling and fling, and anything that is not a game or video.

For video, use FRAME_RATE_COMPATIBILITY_FIXED_SOURCE instead. For game content, use FRAME_RATE_COMPATIBILITY_DEFAULT.

Java documentation for android.view.Surface.FRAME_RATE_COMPATIBILITY_AT_LEAST.

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