public enum NotSupportedReason extends java.lang.Enum<NotSupportedReason>
| Enum Constant and Description |
|---|
BLACKLISTED_DEVICE
Indicates that device has been blacklisted by developers because it is known that scanning will not work on it
|
CUSTOM_UI_FORBIDDEN
Indicates that current build configuration requires valid license key to be set with method setLicenseKey before using
the scanner and set license key does not allow setting this view on custom activity.
|
INVALID_LICENSE_KEY
Indicates that current build configuration requires valid license key to be set with method setLicenseKey before using
the scanner and set license key is not valid
|
NO_AUTOFOCUS_CAMERA
Indicates that current configuration requires camera autofocus support and current device does not support that feature
|
NO_CAMERA
Indicates that device does not have camera
|
UNSUPPORTED_ANDROID_VERSION
Indicates that current version of android is not supported.
|
UNSUPPORTED_PROCESSOR_ARCHITECTURE
Indicates that device has a processor that is not supported (for example ARMv7 processor without NEON SIMD instruction support)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
static NotSupportedReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotSupportedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotSupportedReason UNSUPPORTED_ANDROID_VERSION
public static final NotSupportedReason NO_CAMERA
public static final NotSupportedReason NO_AUTOFOCUS_CAMERA
public static final NotSupportedReason BLACKLISTED_DEVICE
public static final NotSupportedReason INVALID_LICENSE_KEY
public static final NotSupportedReason CUSTOM_UI_FORBIDDEN
public static final NotSupportedReason UNSUPPORTED_PROCESSOR_ARCHITECTURE
public static NotSupportedReason[] values()
for (NotSupportedReason c : NotSupportedReason.values()) System.out.println(c);
public static NotSupportedReason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDescription()