語言

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為即時,則使用此時間基準的時間戳無法直接匹配 CameraCaptureSession.CaptureCallback#onCaptureStarted,CameraCaptureSession.CaptureCallback#onReadoutStarted或感測器的時間戳記 。android.hardware.camera2.CaptureResult

Java 文件 android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_MONOTONIC。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於