ErrorCode

public enum ErrorCode

Definition of Gini Vision Library error codes.

Entries

CAMERA_NO_ACCESS
Link copied to clipboard
CAMERA_NO_ACCESS

Couldn'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_FAILED
Link copied to clipboard
CAMERA_OPEN_FAILED

Camera couldn't be opened due to an unexpected error. Check the message for details.

CAMERA_NO_PREVIEW
Link copied to clipboard
CAMERA_NO_PREVIEW

Camera 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_FAILED
Link copied to clipboard
CAMERA_SHOT_FAILED

Camera 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_UNKNOWN
Link copied to clipboard
CAMERA_UNKNOWN

An unexpected camera error occurred. Check the message for details.

REVIEW
Link copied to clipboard
REVIEW

An error occurred in the Review Screen. Check the message for details.

DOCUMENT_IMPORT
Link copied to clipboard
DOCUMENT_IMPORT

An error occurred while a document was imported from the device. Check the messages for details.

ANALYSIS
Link copied to clipboard
ANALYSIS

An error occurred in the Analysis Screen. Check the message for details.

Functions

valueOf
Link copied to clipboard
static GiniVisionError.ErrorCode valueOf(String name)
values
Link copied to clipboard
static Array<GiniVisionError.ErrorCodevalues()