Enum RecognizerCompatibilityStatus

    • Enum Constant Detail


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

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

        public static final RecognizerCompatibilityStatus UNSUPPORTED_ANDROID_VERSION
        Device's Android version is 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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null