public static enum SMSMessage.MType extends java.lang.Enum<SMSMessage.MType>
Enum Constant and Description |
---|
OPERATOR_LOGO |
PLAIN_TEXT |
RINGTONE |
WAP_PUSH |
Modifier and Type | Method and Description |
---|---|
static SMSMessage.MType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMSMessage.MType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSMessage.MType PLAIN_TEXT
public static final SMSMessage.MType WAP_PUSH
public static final SMSMessage.MType OPERATOR_LOGO
public static final SMSMessage.MType RINGTONE
public static SMSMessage.MType[] values()
for (SMSMessage.MType c : SMSMessage.MType.values()) System.out.println(c);
public static SMSMessage.MType 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 null