|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smack.packet.Message.Type
public static class Message.Type
Represents the type of a message.
Field Summary | |
---|---|
static Message.Type |
CHAT
Typically short text message used in line-by-line chat interfaces. |
static Message.Type |
ERROR
indicates a messaging error. |
static Message.Type |
GROUP_CHAT
Chat message sent to a groupchat server for group chats. |
static Message.Type |
HEADLINE
Text message to be displayed in scrolling marquee displays. |
static Message.Type |
NORMAL
(Default) a normal text message used in email like interface. |
Method Summary | |
---|---|
static Message.Type |
fromString(String type)
Converts a String value into its Type representation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Message.Type NORMAL
public static final Message.Type CHAT
public static final Message.Type GROUP_CHAT
public static final Message.Type HEADLINE
public static final Message.Type ERROR
Method Detail |
---|
public static Message.Type fromString(String type)
type
- the String value.
public String toString()
toString
in class Object
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |