Sdílet prostřednictvím


OutputConfiguration.TimestampBaseMonotonic Field

Definition

Caution

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

Timestamp base roughly the same as 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

Field Value

Value = 2

Implements

Attributes

Remarks

Timestamp base roughly the same as android.os.SystemClock#uptimeMillis.

The timestamps of the output images are monotonically increasing, and are roughly in the same time base as android.os.SystemClock#uptimeMillis. The timestamps with this time base can be directly used for audio-video sync in video recording.

If the camera device's CameraCharacteristics#SENSOR_INFO_TIMESTAMP_SOURCE is REALTIME, timestamps with this time base cannot directly match the timestamps in CameraCaptureSession.CaptureCallback#onCaptureStarted, CameraCaptureSession.CaptureCallback#onReadoutStarted, or the sensor timestamps in android.hardware.camera2.CaptureResult.

Java documentation for android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_MONOTONIC.

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