public static enum SmsState.STATE extends java.lang.Enum<SmsState.STATE>
Enum Constant and Description |
---|
ACCEPTED |
COMPLETED |
IDLE |
INTERRUPTED |
RECEIVING |
REJECTED |
TRANSMITTING |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static SmsState.STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmsState.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmsState.STATE ACCEPTED
public static final SmsState.STATE REJECTED
public static final SmsState.STATE INTERRUPTED
public static final SmsState.STATE COMPLETED
public static final SmsState.STATE IDLE
public static final SmsState.STATE TRANSMITTING
public static final SmsState.STATE RECEIVING
public static SmsState.STATE[] values()
for (SmsState.STATE c : SmsState.STATE.values()) System.out.println(c);
public static SmsState.STATE 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 long value()