Package io.scanbot.sdk.licensing
Enum Class LicenseStatus
- All Implemented Interfaces:
Serializable,Comparable<LicenseStatus>,Constable
Status of the license plate scanner.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo license active.No license active.No license active.No license active.No license set.No license active.No license active.No license active.License is valid and accepted.License is valid but will expire soon.No license set yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseStatusReturns the enum constant of this class with the specified name.static LicenseStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OKAY
License is valid and accepted. -
TRIAL
No license set yet. The SDK is in trial mode. -
OKAY_EXPIRING_SOON
License is valid but will expire soon. Make sure to update your license before it expires to ensure uninterrupted function. -
FAILURE_NOT_SET
No license set. On platforms that support trial mode, it means that the SDK's trial mode is over. -
FAILURE_CORRUPTED
No license active. The set license was unreadable or has an invalid format. -
FAILURE_WRONG_OS
No license active. The set license does not cover the current operating system. -
FAILURE_APP_ID_MISMATCH
No license active. The set license does not cover the current app's bundle identifier. -
FAILURE_EXPIRED
No license active. The set license is valid but it has expired. -
FAILURE_SERVER
No license active. The online license check failed. -
FAILURE_VERSION
No license active. The set license does not cover the current SDK version. -
FAILURE_INACTIVE
No license active. The set license is not yet active.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-