-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum GiniCaptureError.ErrorCodeDefinition of Gini Capture SDK error codes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMERA_NO_ACCESSCouldn't get access to the camera. Most likely cause is either not declaring the camera permission inthe manifest and on Android 6+ not requesting the camera permission from the user. Check the message for details.
CAMERA_OPEN_FAILEDCamera couldn't be opened due to an unexpected error. Check the message for details.
CAMERA_NO_PREVIEWCamera preview could not be started. Likely causes are that the camera was closed before preview could startor the View used to show the preview images couldn't initialize. Check the message for details.
CAMERA_SHOT_FAILEDCamera couldn't take a picture. Likely causes are that the camera was closed between requesting a picture andtaking the picture or the camera didn't return an image. Check the message for details.
CAMERA_UNKNOWNAn unexpected camera error occurred. Check the message for details.
REVIEWAn error occurred in the Review Screen. Check the message for details.
DOCUMENT_IMPORTAn error occurred while a document was imported from the device. Check the messagesfor details.
ANALYSISAn error occurred in the Analysis Screen. Check the message for details.
MISSING_GINI_CAPTURE_INSTANCEThe [GiniCapture] instance is missing. Most likely cause is an application processrestart.
-
Method Summary
Modifier and Type Method Description static Array<GiniCaptureError.ErrorCode>values()static GiniCaptureError.ErrorCodevalueOf(String name)-
-
Method Detail
-
values
static Array<GiniCaptureError.ErrorCode> values()
-
valueOf
static GiniCaptureError.ErrorCode valueOf(String name)
-
-
-
-