Package 

Enum GiniCaptureError.ErrorCode

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum GiniCaptureError.ErrorCode
    
                        

    Definition of Gini Capture SDK error codes.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CAMERA_NO_ACCESS

      Couldn'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_FAILED

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

      CAMERA_NO_PREVIEW

      Camera 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_FAILED

      Camera 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_UNKNOWN

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

      REVIEW

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

      DOCUMENT_IMPORT

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

      ANALYSIS

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

      MISSING_GINI_CAPTURE_INSTANCE

      The [GiniCapture] instance is missing. Most likely cause is an application processrestart.