ImageCaptureException
class ImageCaptureException : Exception
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 functions |
|
|---|---|
Int |
Returns the type of the image capture error. |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
ImageCaptureException
Added in 1.0.0
ImageCaptureException(
imageCaptureError: Int,
message: String,
cause: Throwable?
)
Public functions
getImageCaptureError
Added in 1.0.0
fun getImageCaptureError(): Int
Returns the type of the image capture error.
| Returns | |
|---|---|
Int |
The image capture error type, can have one of the following values: |