Surface.FrameRateCompatibilityFixedSource Field

Definition

Caution

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

This surface is being used to display content with an inherently fixed frame rate, e.

[Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_FIXED_SOURCE", 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 FrameRateCompatibilityFixedSource = 1;
[<Android.Runtime.Register("FRAME_RATE_COMPATIBILITY_FIXED_SOURCE", 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 FrameRateCompatibilityFixedSource : Android.Views.SurfaceFrameRateCompatibility

Field Value

Value = 1

Implements

Attributes

Remarks

This surface is being used to display content with an inherently fixed frame rate, e.g. a video that has a specific frame rate. When the system selects a frame rate other than what the app requested, the app will need to do pull down or use some other technique to adapt to the system's frame rate. The user experience is likely to be worse (e.g. more frame stuttering) than it would be if the system had chosen the app's requested frame rate. This value should be used for video content.

Java documentation for android.view.Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE.

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