Enum DocumentDataExtractionStatus

    • Enum Constant Detail

      • OK_BUT_INVALID_DOCUMENT

        public static final DocumentDataExtractionStatus OK_BUT_INVALID_DOCUMENT
        The document data was extracted. Some fields in the document have failed validation, e.g. because the document is damaged, not authentic, or does not have all required fields.
      • OK_BUT_NOT_CONFIRMED

        public static final DocumentDataExtractionStatus OK_BUT_NOT_CONFIRMED
        The document data was extracted. Some fields have not yet been confirmed.
      • SCANNING_IN_PROGRESS_STILL_FOCUSING

        public static final DocumentDataExtractionStatus SCANNING_IN_PROGRESS_STILL_FOCUSING
        Document data extraction in progress. Waiting for camera to finish focusing.
      • ERROR_BAD_CROP

        public static final DocumentDataExtractionStatus ERROR_BAD_CROP
        A document was detected at an angle or distance that would result in a poor quality crop.
      • ERROR_UNKNOWN_DOCUMENT

        public static final DocumentDataExtractionStatus ERROR_UNKNOWN_DOCUMENT
        A document was detected, but it does not match any supported document format.
      • ERROR_UNACCEPTABLE_DOCUMENT

        public static final DocumentDataExtractionStatus ERROR_UNACCEPTABLE_DOCUMENT
        A supported document was detected, but it is unacceptable in the current configuration.
    • Method Detail

      • values

        public static DocumentDataExtractionStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DocumentDataExtractionStatus c : DocumentDataExtractionStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DocumentDataExtractionStatus valueOf​(java.lang.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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null