共用方式為


Surface.FrameRateCompatibilityDefault Field

Definition

Caution

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

There are no inherent restrictions on the frame rate of this surface.

[Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_DEFAULT", ApiSince=30)]
[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 FrameRateCompatibilityDefault = 0;
[<Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_DEFAULT", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.SurfaceFrameRateCompatibility enum directly instead of this field.", true)>]
val mutable FrameRateCompatibilityDefault : Android.Views.SurfaceFrameRateCompatibility

Field Value

Value = 0

Implements

Attributes

Remarks

There are no inherent restrictions on the frame rate of this surface. When the system selects a frame rate other than what the app requested, the app will be able to run at the system frame rate without requiring pull down. This value should be used when displaying game content, UIs, and anything that isn't video.

Java documentation for android.view.Surface.FRAME_RATE_COMPATIBILITY_DEFAULT.

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