The Android Developer Challenge is back! Submit your idea before December 2.

ImageCaptureError

class ImageCaptureError
kotlin.Any
   ↳ kotlin.Enum<androidx.camera.core.ImageCapture.ImageCaptureError>
   ↳ androidx.camera.core.ImageCapture.ImageCaptureError

Describes the error that occurred during an image capture operation (such as ).

This is a parameter sent to the error callback functions set in listeners such as .

Summary

Enum values

An error occurred while attempting to read or write a file, such as when saving an image to a File.

An unknown error occurred.

Enum values

FILE_IO_ERROR

enum val FILE_IO_ERROR : ImageCapture.ImageCaptureError

An error occurred while attempting to read or write a file, such as when saving an image to a File.

UNKNOWN_ERROR

enum val UNKNOWN_ERROR : ImageCapture.ImageCaptureError

An unknown error occurred.

See message parameter in onError callback or log for more details.