Share via


FrameMetrics.Deadline Field

Definition

Caution

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

Metric identifier for the total duration that was available to the app to produce a frame.

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

Field Value

Value = 13
Attributes

Remarks

Metric identifier for the total duration that was available to the app to produce a frame.

Represents the total time in nanoseconds the system allocated for the app to produce its frame. If FrameMetrics.TOTAL_DURATION < FrameMetrics.DEADLINE, the app hit its intended deadline and there was no jank visible to the user.

Java documentation for android.view.FrameMetrics.DEADLINE.

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