Enum Class LicenseStatus

java.lang.Object
java.lang.Enum<LicenseStatus>
io.scanbot.sdk.licensing.LicenseStatus
All Implemented Interfaces:
Serializable, Comparable<LicenseStatus>, Constable

public enum LicenseStatus extends Enum<LicenseStatus>
Status of the license plate scanner.
  • Enum Constant Details

    • 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 Details

    • values

      public static LicenseStatus[] 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

      public static LicenseStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null