Enum ProcessingStatus

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

    public enum ProcessingStatus
    extends java.lang.Enum<ProcessingStatus>
    Detailed information about the recognition process.
    • Enum Constant Detail

      • Success

        public static final ProcessingStatus Success
        Recognition was successful.
      • DetectionFailed

        public static final ProcessingStatus DetectionFailed
        Detection of the document failed.
      • ImagePreprocessingFailed

        public static final ProcessingStatus ImagePreprocessingFailed
        Preprocessing of the input image has failed.
      • StabilityTestFailed

        public static final ProcessingStatus StabilityTestFailed
        Recognizer has inconsistent results.
      • ScanningWrongSide

        public static final ProcessingStatus ScanningWrongSide
        Wrong side of the document has been scanned.
      • FieldIdentificationFailed

        public static final ProcessingStatus FieldIdentificationFailed
        Identification of the fields present on the document has failed.
      • MandatoryFieldMissing

        public static final ProcessingStatus MandatoryFieldMissing
        Mandatory field for the specific document is missing.
      • InvalidCharactersFound

        public static final ProcessingStatus InvalidCharactersFound
        Result contains invalid characters in some of the fields.
      • ImageReturnFailed

        public static final ProcessingStatus ImageReturnFailed
        Failed to return a requested image.
      • BarcodeRecognitionFailed

        public static final ProcessingStatus BarcodeRecognitionFailed
        Reading or parsing of the barcode has failed.
      • MrzParsingFailed

        public static final ProcessingStatus MrzParsingFailed
        Parsing of the MRZ has failed.
      • ClassFiltered

        public static final ProcessingStatus ClassFiltered
        Document class has been filtered out.
      • UnsupportedClass

        public static final ProcessingStatus UnsupportedClass
        Document currently not supported by the recognizer.
      • UnsupportedByLicense

        public static final ProcessingStatus UnsupportedByLicense
        License for the detected document is missing.
      • AwaitingOtherSide

        public static final ProcessingStatus AwaitingOtherSide
        Front side recognition has completed successfully, and recognizer is waiting for the other side to be scanned.
    • Method Detail

      • values

        public static ProcessingStatus[] 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 (ProcessingStatus c : ProcessingStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProcessingStatus 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