CameraExtensionSession.ExtensionCaptureCallback.OnCaptureSequenceAborted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when a capture sequence aborts.
[Android.Runtime.Register("onCaptureSequenceAborted", "(Landroid/hardware/camera2/CameraExtensionSession;I)V", "GetOnCaptureSequenceAborted_Landroid_hardware_camera2_CameraExtensionSession_IHandler", ApiSince=31)]
public virtual void OnCaptureSequenceAborted (Android.Hardware.Camera2.CameraExtensionSession session, int sequenceId);
[<Android.Runtime.Register("onCaptureSequenceAborted", "(Landroid/hardware/camera2/CameraExtensionSession;I)V", "GetOnCaptureSequenceAborted_Landroid_hardware_camera2_CameraExtensionSession_IHandler", ApiSince=31)>]
abstract member OnCaptureSequenceAborted : Android.Hardware.Camera2.CameraExtensionSession * int -> unit
override this.OnCaptureSequenceAborted : 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 when a capture sequence aborts.
Due to the asynchronous nature of the camera device, not all submitted captures are immediately processed. It is possible to clear out the pending requests by a variety of operations such as CameraExtensionSession#stopRepeating
. When such an event happens, #onCaptureProcessStarted
will not be called.
The default implementation does nothing.
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.