Package io.scanbot.sdk.licensing
Enum LicenseStatus
- java.lang.Object
-
- java.lang.Enum<LicenseStatus>
-
- io.scanbot.sdk.licensing.LicenseStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LicenseStatus>
public enum LicenseStatus extends java.lang.Enum<LicenseStatus>
Status of the license plate scanner.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURE_APP_ID_MISMATCHNo license active.FAILURE_CORRUPTEDNo license active.FAILURE_EXPIREDNo license active.FAILURE_INACTIVENo license active.FAILURE_NOT_SETNo license set.FAILURE_SERVERNo license active.FAILURE_VERSIONNo license active.FAILURE_WRONG_OSNo license active.OKAYLicense is valid and accepted.OKAY_EXPIRING_SOONLicense is valid but will expire soon.TRIALNo license set yet.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LicenseStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LicenseStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OKAY
public static final LicenseStatus OKAY
License is valid and accepted.
-
TRIAL
public static final LicenseStatus TRIAL
No license set yet. The SDK is in trial mode.
-
OKAY_EXPIRING_SOON
public static final LicenseStatus 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
public static final LicenseStatus FAILURE_NOT_SET
No license set. On platforms that support trial mode, it means that the SDK's trial mode is over.
-
FAILURE_CORRUPTED
public static final LicenseStatus FAILURE_CORRUPTED
No license active. The set license was unreadable or has an invalid format.
-
FAILURE_WRONG_OS
public static final LicenseStatus FAILURE_WRONG_OS
No license active. The set license does not cover the current operating system.
-
FAILURE_APP_ID_MISMATCH
public static final LicenseStatus FAILURE_APP_ID_MISMATCH
No license active. The set license does not cover the current app's bundle identifier.
-
FAILURE_EXPIRED
public static final LicenseStatus FAILURE_EXPIRED
No license active. The set license is valid but it has expired.
-
FAILURE_SERVER
public static final LicenseStatus FAILURE_SERVER
No license active. The online license check failed.
-
FAILURE_VERSION
public static final LicenseStatus FAILURE_VERSION
No license active. The set license does not cover the current SDK version.
-
FAILURE_INACTIVE
public static final LicenseStatus FAILURE_INACTIVE
No license active. The set license is not yet active.
-
-
Method Detail
-
values
public static LicenseStatus[] 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 (LicenseStatus c : LicenseStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicenseStatus 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
-
-