Enum RecognizerCompatibilityStatus

    • Enum Constant Detail

      • PROCESSOR_ARCHITECTURE_NOT_SUPPORTED

        public static final RecognizerCompatibilityStatus PROCESSOR_ARCHITECTURE_NOT_SUPPORTED
        Recognizer is not supported on device's processor architecture.
      • DEVICE_BLACKLISTED

        public static final RecognizerCompatibilityStatus DEVICE_BLACKLISTED
        Device is on blacklist and PhotoPay is not supported on that device.
      • UNSUPPORTED_ANDROID_VERSION

        public static final RecognizerCompatibilityStatus UNSUPPORTED_ANDROID_VERSION
        Device's Android version is not supported.
      • RECOGNIZER_NOT_SUPPORTED

        public static final RecognizerCompatibilityStatus RECOGNIZER_NOT_SUPPORTED
        Recognizer is not supported (unknown reason).
    • Method Detail

      • values

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

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