共用方式為


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#onReadoutStarted中的CameraCaptureSession.CaptureCallback#onCaptureStarted時間戳,或中的android.hardware.camera2.CaptureResult感測器時間戳。

android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_MONOTONICJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於