Share via


CameraExtensionCharacteristics.GetEstimatedCaptureLatencyRangeMillis Method

Definition

Returns the estimated capture latency range in milliseconds for the target capture resolution during the calls to CameraExtensionSession#capture.

[Android.Runtime.Register("getEstimatedCaptureLatencyRangeMillis", "(ILandroid/util/Size;I)Landroid/util/Range;", "", ApiSince=31)]
public Android.Util.Range? GetEstimatedCaptureLatencyRangeMillis (int extension, Android.Util.Size captureOutputSize, int format);
[<Android.Runtime.Register("getEstimatedCaptureLatencyRangeMillis", "(ILandroid/util/Size;I)Landroid/util/Range;", "", ApiSince=31)>]
member this.GetEstimatedCaptureLatencyRangeMillis : int * Android.Util.Size * int -> Android.Util.Range

Parameters

extension
Int32

the extension type

captureOutputSize
Size

size of the capture output surface. If it is not in the supported output sizes, maximum capture output size is used for the estimation

format
Int32

device-specific extension output format

Returns

the range of estimated minimal and maximal capture latency in milliseconds or null if no capture latency info can be provided

Attributes

Remarks

Returns the estimated capture latency range in milliseconds for the target capture resolution during the calls to CameraExtensionSession#capture. This includes the time spent processing the multi-frame capture request along with any additional time for encoding of the processed buffer if necessary.

Java documentation for android.hardware.camera2.CameraExtensionCharacteristics.getEstimatedCaptureLatencyRangeMillis(int, android.util.Size, int).

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