public static enum Message.MessageType extends java.lang.Enum<Message.MessageType>
| Enum Constant and Description |
|---|
BINARY
Message is a binary SMS message with a custom UDH and binary payload
|
TEXT
Message is a regular TEXT SMS message
|
UNICODE
Message is a unicode message, for sending messages in non-latin script to a supported handset
|
WAPPUSH
Message is a wap-push message to send a browsable / downloadable url to the handset
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Message.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.MessageType TEXT
public static final Message.MessageType BINARY
public static final Message.MessageType WAPPUSH
public static final Message.MessageType UNICODE
public static Message.MessageType[] values()
for (Message.MessageType c : Message.MessageType.values()) System.out.println(c);
public static Message.MessageType 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 java.lang.String toString()
toString in class java.lang.Enum<Message.MessageType>