public enum MessageType extends java.lang.Enum<MessageType>
Enum Constant and Description |
---|
MSRP
Message Session Relay Protocol (MSRP) message
|
NA
Invalid - information not available
|
Simple
SIP Simple message
|
XMPP
Extensible Messaging and Presence Protocol (XMPP)
|
Modifier and Type | Method and Description |
---|---|
static MessageType |
fromInt(int i) |
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType NA
public static final MessageType Simple
public static final MessageType MSRP
public static final MessageType XMPP
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static 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 static MessageType fromInt(int i)