Läs på engelska

Dela via


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.

C#
[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;

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

Produkt Versioner (Föråldrad)
.NET for Android (.NET for Android API 34, .NET for Android API 35)