public static enum DeviceVerificationResponse.Action extends Enum<DeviceVerificationResponse.Action>
| Enum Constant and Description |
|---|
EXPIRED
The user code has expired.
|
NOT_EXIST
The user code does not exist.
|
SERVER_ERROR
An error occurred on Authlete side.
|
VALID
The user code is valid.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceVerificationResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceVerificationResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceVerificationResponse.Action VALID
public static final DeviceVerificationResponse.Action EXPIRED
public static final DeviceVerificationResponse.Action NOT_EXIST
public static final DeviceVerificationResponse.Action SERVER_ERROR
public static DeviceVerificationResponse.Action[] values()
for (DeviceVerificationResponse.Action c : DeviceVerificationResponse.Action.values()) System.out.println(c);
public static DeviceVerificationResponse.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.