public enum DoublePingState extends Enum<DoublePingState>
Enum Constant and Description |
---|
AUTH
In the authentication process.
|
CENTER_QR
The code is not centered.
|
CONTENT
Waiting for a code to be scanned.
|
FIT_QR
Waiting for a code that meets the size constraint.
|
WAITING_FOR_PARAMS
Waiting for the current code's authentication parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getStateId() |
static DoublePingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoublePingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoublePingState CONTENT
public static final DoublePingState CENTER_QR
public static final DoublePingState FIT_QR
public static final DoublePingState WAITING_FOR_PARAMS
public static final DoublePingState AUTH
public static DoublePingState[] values()
for (DoublePingState c : DoublePingState.values()) System.out.println(c);
public static DoublePingState 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 nullpublic int getStateId()