ImageCaptureException
public class ImageCaptureException extends Exception
| java.lang.Object | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | androidx.camera.core.ImageCaptureException |
An exception thrown to indicate an error has occurred during image capture or while saving the captured image. See ImageCapture.OnImageCapturedCallback and ImageCapture.OnImageSavedCallback.
Summary
Public constructors |
|---|
ImageCaptureException( |
Public methods |
|
|---|---|
int |
Returns the type of the image capture error. |
Inherited methods |
|---|
Public constructors
Public methods
getImageCaptureError
Added in 1.0.0
public int getImageCaptureError()
Returns the type of the image capture error.
| Returns | |
|---|---|
int |
The image capture error type, can have one of the following values: |