OutputConfiguration.TimestampBaseMonotonic 字段

定义

注意

This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.

时间戳基数大致与 android.os.SystemClock#uptimeMillis.

[Android.Runtime.Register("TIMESTAMP_BASE_MONOTONIC", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.Params.TimestampBase TimestampBaseMonotonic = 2;
[<Android.Runtime.Register("TIMESTAMP_BASE_MONOTONIC", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.", true)>]
val mutable TimestampBaseMonotonic : Android.Hardware.Camera2.Params.TimestampBase

字段值

Value = 2

实现

属性

注解

时间戳基数大致与 android.os.SystemClock#uptimeMillis.

输出图像的时间戳单调增加,大致 android.os.SystemClock#uptimeMillis与基本相同。 具有此时间基的时间戳可直接用于视频录制中的音频视频同步。

如果相机设备CameraCharacteristics#SENSOR_INFO_TIMESTAMP_SOURCE为 REALTIME,则具有此时间基的时间戳不能直接匹配时间戳CameraCaptureSession.CaptureCallback#onCaptureStartedCameraCaptureSession.CaptureCallback#onReadoutStarted或传感器时间戳。android.hardware.camera2.CaptureResult

适用于 . 的 android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_MONOTONICJava 文档

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

适用于