public enum ThreeStepsState extends Enum<ThreeStepsState>
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getStateId() |
static ThreeStepsState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreeStepsState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreeStepsState CONTENT
public static final ThreeStepsState CENTER_QR
public static final ThreeStepsState FIT_QR
public static final ThreeStepsState AUTH
public static ThreeStepsState[] values()
for (ThreeStepsState c : ThreeStepsState.values()) System.out.println(c);
public static ThreeStepsState 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()