Package | Description |
---|---|
org.jivesoftware.smack.chat | |
org.jivesoftware.smackx.chatstates | |
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
Modifier and Type | Method and Description |
---|---|
Set<ChatMessageListener> |
Chat.getListeners()
Returns an unmodifiable set of all of the listeners registered with this chat.
|
Modifier and Type | Method and Description |
---|---|
void |
Chat.addMessageListener(ChatMessageListener listener)
Adds a stanza(/packet) listener that will be notified of any new messages in the
chat.
|
Chat |
ChatManager.createChat(String userJID,
ChatMessageListener listener)
Creates a new chat and returns it.
|
Chat |
ChatManager.createChat(String userJID,
String thread,
ChatMessageListener listener)
Creates a new chat using the specified thread ID, then returns it.
|
void |
Chat.removeMessageListener(ChatMessageListener listener) |
Modifier and Type | Interface and Description |
---|---|
interface |
ChatStateListener
Events for when the state of a user in a chat changes.
|
Modifier and Type | Method and Description |
---|---|
Chat |
MultiUserChat.createPrivateChat(String occupant,
ChatMessageListener listener)
Returns a new Chat for sending private messages to a given room occupant.
|