public static enum DeviceCompleteResponse.Action extends Enum<DeviceCompleteResponse.Action>
| Enum Constant and Description |
|---|
INVALID_REQUEST
The API call is invalid.
|
SERVER_ERROR
An error occurred on Authlete side.
|
SUCCESS
The API call has been processed successfully.
|
USER_CODE_EXPIRED
The user code has expired.
|
USER_CODE_NOT_EXIST
The user code does not exist.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceCompleteResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceCompleteResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceCompleteResponse.Action SUCCESS
public static final DeviceCompleteResponse.Action INVALID_REQUEST
public static final DeviceCompleteResponse.Action USER_CODE_EXPIRED
public static final DeviceCompleteResponse.Action USER_CODE_NOT_EXIST
public static final DeviceCompleteResponse.Action SERVER_ERROR
public static DeviceCompleteResponse.Action[] values()
for (DeviceCompleteResponse.Action c : DeviceCompleteResponse.Action.values()) System.out.println(c);
public static DeviceCompleteResponse.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.