Share via


CameraCaptureSession.CaptureCallback.OnCaptureSequenceCompleted Method

Definition

This method is called independently of the others in CaptureCallback, when a capture sequence finishes and all CaptureResult or CaptureFailure for it have been returned via this listener.

[Android.Runtime.Register("onCaptureSequenceCompleted", "(Landroid/hardware/camera2/CameraCaptureSession;IJ)V", "GetOnCaptureSequenceCompleted_Landroid_hardware_camera2_CameraCaptureSession_IJHandler")]
public virtual void OnCaptureSequenceCompleted (Android.Hardware.Camera2.CameraCaptureSession session, int sequenceId, long frameNumber);
[<Android.Runtime.Register("onCaptureSequenceCompleted", "(Landroid/hardware/camera2/CameraCaptureSession;IJ)V", "GetOnCaptureSequenceCompleted_Landroid_hardware_camera2_CameraCaptureSession_IJHandler")>]
abstract member OnCaptureSequenceCompleted : Android.Hardware.Camera2.CameraCaptureSession * int * int64 -> unit
override this.OnCaptureSequenceCompleted : Android.Hardware.Camera2.CameraCaptureSession * int * int64 -> unit

Parameters

session
CameraCaptureSession

The session returned by CameraDevice#createCaptureSession

sequenceId
Int32

A sequence ID returned by the #capture family of functions.

frameNumber
Int64

The last frame number (returned by CaptureResult#getFrameNumber or CaptureFailure#getFrameNumber) in the capture sequence.

Attributes

Remarks

This method is called independently of the others in CaptureCallback, when a capture sequence finishes and all CaptureResult or CaptureFailure for it have been returned via this listener.

In total, there will be at least one result/failure returned by this listener before this callback is invoked. If the capture sequence is aborted before any requests have been processed, #onCaptureSequenceAborted is invoked instead.

The default implementation does nothing.

Java documentation for android.hardware.camera2.CameraCaptureSession.CaptureCallback.onCaptureSequenceCompleted(android.hardware.camera2.CameraCaptureSession, int, long).

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