CameraCaptureSession.AbortCaptures CameraCaptureSession.AbortCaptures Method

Definition

Discard all captures currently pending and in-progress as fast as possible.

[Android.Runtime.Register("abortCaptures", "()V", "GetAbortCapturesHandler")]
public abstract void AbortCaptures ();
abstract member AbortCaptures : unit -> unit

Exceptions

if the camera device is no longer connected or has encountered a fatal error

if this session is no longer active, either because the session was explicitly closed, a new session has been created or the camera device has been closed.

Remarks

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