-
- All Implemented Interfaces:
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 in the 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 start or 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 and taking 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 messages for 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 process restart.
-
Method Summary
Modifier and Type Method Description static Array<GiniCaptureError.ErrorCode>values()Returns an array containing the constants of this enum type, in the order they're declared. static GiniCaptureError.ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<GiniCaptureError.ErrorCode> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
-
valueOf
static GiniCaptureError.ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
-
-
-