FrameMetrics.TotalDuration 字段

定义

注意

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

总帧持续时间的指标标识符。

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

字段值

Value = 8
属性

注解

总帧持续时间的指标标识符。

表示此帧呈现并颁发给显示子系统所花费的总时间(以纳秒为单位)。

总持续时间是帧开始时间与结束时间之间的时间差。 此值可能不完全等于所有其他时间值指标标识符的值之和,因为某些阶段可能会同时发生。

适用于 . 的 android.view.FrameMetrics.TOTAL_DURATIONJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于