public static enum LicenseResponse.RequestStatus extends java.lang.Enum<LicenseResponse.RequestStatus>
LicensingService#verifyLicense()
.Enum Constant and Description |
---|
ERROR_INVALID_LICENSING_KEYS
Indicates that the public key provided by developer
failed to decrypt the license returned by Appstore
|
ERROR_VERIFICATION
Indicates that license verification failed.
|
EXPIRED
Indicates that the license has expired.
|
LICENSED
Indicates a successful request.
|
NOT_LICENSED
Indicates an unsuccessful request.
|
UNKNOWN_ERROR
License Verification failed due to some issue at Appstore's end.
|
Modifier and Type | Method and Description |
---|---|
static LicenseResponse.RequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LicenseResponse.RequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseResponse.RequestStatus LICENSED
public static final LicenseResponse.RequestStatus NOT_LICENSED
public static final LicenseResponse.RequestStatus ERROR_VERIFICATION
public static final LicenseResponse.RequestStatus ERROR_INVALID_LICENSING_KEYS
public static final LicenseResponse.RequestStatus EXPIRED
public static final LicenseResponse.RequestStatus UNKNOWN_ERROR
public static LicenseResponse.RequestStatus[] values()
for (LicenseResponse.RequestStatus c : LicenseResponse.RequestStatus.values()) System.out.println(c);
public static LicenseResponse.RequestStatus 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 null