public static enum MmiCode.State extends Enum<MmiCode.State>
Enum Constant and Description |
---|
CANCELLED |
COMPLETE |
FAILED |
PENDING |
Modifier and Type | Method and Description |
---|---|
static MmiCode.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MmiCode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MmiCode.State PENDING
public static final MmiCode.State CANCELLED
public static final MmiCode.State COMPLETE
public static final MmiCode.State FAILED
public static MmiCode.State[] values()
for (MmiCode.State c : MmiCode.State.values()) System.out.println(c);
public static MmiCode.State 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 null