public enum LicenseErrorCodeEnum extends java.lang.Enum<LicenseErrorCodeEnum>
Enum Constant and Description |
---|
PSO_E_LICENSE_EXPIRE |
PSO_E_LICENSE_FILE_READ_FAILED |
PSO_E_LICENSE_ILLEGAL_ACCESS |
PSO_E_LICENSE_INVALID |
PSO_E_LICENSE_PERMISSION_DENY |
PSO_E_LICENSE_SUCCESS
/// Success
#define PSO_E_LICENSE_SUCCESS (0)
/// The license is invalid
#define PSO_E_LICENSE_INVALID (-100)
/// The license has expired
#define PSO_E_LICENSE_EXPIRE (-101)
/// The license does not support the current platform
#define PSO_E_LICENSE_UNSUPPORTED_PLATFORM (-102)
/// The license does not support the application id
#define PSO_E_LICENSE_UNSUPPORTED_ID (-103)
/// The license does not support the application id
#define PSO_E_LICENSE_UNSUPPORTED_DEVICE (-104)
/// The license does not have the function permission
#define PSO_E_LICENSE_PERMISSION_DENY (-105)
/// License has not been initialized
#define PSO_E_LICENSE_UNINITIALIZED (-106)
/// Illegal access to the API interface
#define PSO_E_LICENSE_ILLEGAL_ACCESS (-1000)
/// Failed to read license file
#define PSO_E_LICENSE_FILE_READ_FAILED (-1001)
|
PSO_E_LICENSE_UNINITIALIZED |
PSO_E_LICENSE_UNSUPPORTED_DEVICE |
PSO_E_LICENSE_UNSUPPORTED_ID |
PSO_E_LICENSE_UNSUPPORTED_PLATFORM |
Modifier and Type | Method and Description |
---|---|
static void |
errorCodeCheck(int licenseErrorCode) |
int |
getLicenseErrorCode() |
java.lang.String |
getLicenseErrorMessage() |
static LicenseErrorCodeEnum |
toEnum(int licenseErrorCode) |
static LicenseErrorCodeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LicenseErrorCodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseErrorCodeEnum PSO_E_LICENSE_SUCCESS
public static final LicenseErrorCodeEnum PSO_E_LICENSE_INVALID
public static final LicenseErrorCodeEnum PSO_E_LICENSE_EXPIRE
public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_PLATFORM
public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_ID
public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_DEVICE
public static final LicenseErrorCodeEnum PSO_E_LICENSE_PERMISSION_DENY
public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNINITIALIZED
public static final LicenseErrorCodeEnum PSO_E_LICENSE_ILLEGAL_ACCESS
public static final LicenseErrorCodeEnum PSO_E_LICENSE_FILE_READ_FAILED
public static LicenseErrorCodeEnum[] values()
for (LicenseErrorCodeEnum c : LicenseErrorCodeEnum.values()) System.out.println(c);
public static LicenseErrorCodeEnum 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 int getLicenseErrorCode()
public java.lang.String getLicenseErrorMessage()
public static LicenseErrorCodeEnum toEnum(int licenseErrorCode)
public static void errorCodeCheck(int licenseErrorCode)