public final class NotSupportedReason
extends java.lang.Enum
Modifier and Type | Field and Description |
---|---|
static NotSupportedReason |
BLACKLISTED_DEVICE
Indicates that device has been blacklisted by developers because it is known that scanning will not work on it
|
static NotSupportedReason |
CUSTOM_UI_FORBIDDEN
Indicates that set license key does not allow setting this view on custom activity.
|
static NotSupportedReason |
INVALID_OR_MISSING_LICENSE
Indicates that current build configuration requires valid license to be set with either
MicroblinkSDK.setLicenseKey(String, Context) ,
MicroblinkSDK.setLicenseBuffer(byte[], Context) or MicroblinkSDK.setLicenseFile(String, Context) before using
the scanner and set license is not valid |
static NotSupportedReason |
NO_CAMERA
Indicates that device does not have camera
|
static NotSupportedReason |
UNSUPPORTED_ANDROID_VERSION
Indicates that current version of android is not supported.
|
static NotSupportedReason |
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) |
static NotSupportedReason[] |
values() |
public static final NotSupportedReason UNSUPPORTED_ANDROID_VERSION
public static final NotSupportedReason NO_CAMERA
public static final NotSupportedReason BLACKLISTED_DEVICE
public static final NotSupportedReason INVALID_OR_MISSING_LICENSE
MicroblinkSDK.setLicenseKey(String, Context)
,
MicroblinkSDK.setLicenseBuffer(byte[], Context)
or MicroblinkSDK.setLicenseFile(String, Context)
before using
the scanner and set license is not validpublic static final NotSupportedReason CUSTOM_UI_FORBIDDEN
public static final NotSupportedReason UNSUPPORTED_PROCESSOR_ARCHITECTURE
public static NotSupportedReason[] values()
public static NotSupportedReason valueOf(java.lang.String name)
@NonNull public java.lang.String getDescription()