Share via


CameraExtensionSession.ExtensionCaptureCallback.OnCaptureSequenceCompleted Method

Definition

This method is called independently of the others in ExtensionCaptureCallback, when a capture sequence finishes.

[Android.Runtime.Register("onCaptureSequenceCompleted", "(Landroid/hardware/camera2/CameraExtensionSession;I)V", "GetOnCaptureSequenceCompleted_Landroid_hardware_camera2_CameraExtensionSession_IHandler", ApiSince=31)]
public virtual void OnCaptureSequenceCompleted (Android.Hardware.Camera2.CameraExtensionSession session, int sequenceId);
[<Android.Runtime.Register("onCaptureSequenceCompleted", "(Landroid/hardware/camera2/CameraExtensionSession;I)V", "GetOnCaptureSequenceCompleted_Landroid_hardware_camera2_CameraExtensionSession_IHandler", ApiSince=31)>]
abstract member OnCaptureSequenceCompleted : Android.Hardware.Camera2.CameraExtensionSession * int -> unit
override this.OnCaptureSequenceCompleted : Android.Hardware.Camera2.CameraExtensionSession * int -> unit

Parameters

session
CameraExtensionSession

the session received during StateCallback#onConfigured(CameraExtensionSession)

sequenceId
Int32

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

Attributes

Remarks

This method is called independently of the others in ExtensionCaptureCallback, when a capture sequence finishes.

In total, there will be at least one #onCaptureProcessStarted/#onCaptureFailed invocation before this callback is triggered. If the capture sequence is aborted before any requests have begun processing, #onCaptureSequenceAborted is invoked instead.

The default implementation does nothing.

Java documentation for android.hardware.camera2.CameraExtensionSession.ExtensionCaptureCallback.onCaptureSequenceCompleted(android.hardware.camera2.CameraExtensionSession, 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