Package com.microblink.util
Enum RecognizerCompatibilityStatus
- java.lang.Object
-
- java.lang.Enum<RecognizerCompatibilityStatus>
-
- com.microblink.util.RecognizerCompatibilityStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RecognizerCompatibilityStatus>
public enum RecognizerCompatibilityStatus extends java.lang.Enum<RecognizerCompatibilityStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVICE_BLACKLISTED
Device is on blacklist and PhotoPay is not supported on that device.NO_CAMERA
Device does not have camera.PROCESSOR_ARCHITECTURE_NOT_SUPPORTED
Recognizer is not supported on device's processor architecture.RECOGNIZER_NOT_SUPPORTED
Recognizer is not supported (unknown reason).RECOGNIZER_SUPPORTED
Recognizer is fully supported on this device.UNSUPPORTED_ANDROID_VERSION
Device's Android version is not supported.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RecognizerCompatibilityStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RecognizerCompatibilityStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECOGNIZER_SUPPORTED
public static final RecognizerCompatibilityStatus RECOGNIZER_SUPPORTED
Recognizer is fully supported on this device.
-
PROCESSOR_ARCHITECTURE_NOT_SUPPORTED
public static final RecognizerCompatibilityStatus PROCESSOR_ARCHITECTURE_NOT_SUPPORTED
Recognizer is not supported on device's processor architecture.
-
NO_CAMERA
public static final RecognizerCompatibilityStatus NO_CAMERA
Device does not have camera.
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-