public static enum DataTransporter.PIN_STATUS extends java.lang.Enum<DataTransporter.PIN_STATUS>
Enum Constant and Description |
---|
PH_NET_PIN |
READY |
SIM_PIN |
SIM_PIN2 |
SIM_PUK |
SIM_PUK2 |
Modifier and Type | Method and Description |
---|---|
static DataTransporter.PIN_STATUS |
looseValueOf(java.lang.String name)
Gets the PIN_STATUS that's name looks like the given String
(except maybe for whitespace, dashes etc.).
|
static DataTransporter.PIN_STATUS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataTransporter.PIN_STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransporter.PIN_STATUS READY
public static final DataTransporter.PIN_STATUS SIM_PIN
public static final DataTransporter.PIN_STATUS SIM_PUK
public static final DataTransporter.PIN_STATUS SIM_PIN2
public static final DataTransporter.PIN_STATUS SIM_PUK2
public static final DataTransporter.PIN_STATUS PH_NET_PIN
public static DataTransporter.PIN_STATUS[] values()
for (DataTransporter.PIN_STATUS c : DataTransporter.PIN_STATUS.values()) System.out.println(c);
public static DataTransporter.PIN_STATUS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DataTransporter.PIN_STATUS looseValueOf(java.lang.String name)
name
- The name of the enum value to find.