Sdílet prostřednictvím


CaptureFailure.WasImageCaptured Method

Definition

Determine if the image was captured from the camera.

[Android.Runtime.Register("wasImageCaptured", "()Z", "GetWasImageCapturedHandler")]
public virtual bool WasImageCaptured ();
[<Android.Runtime.Register("wasImageCaptured", "()Z", "GetWasImageCapturedHandler")>]
abstract member WasImageCaptured : unit -> bool
override this.WasImageCaptured : unit -> bool

Returns

boolean True if the image was captured, false otherwise.

Attributes

Remarks

Determine if the image was captured from the camera.

If the image was not captured, no image buffers will be available. If the image was captured, then image buffers may be available.

Java documentation for android.hardware.camera2.CaptureFailure.wasImageCaptured().

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