Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smackx.chatstates | |
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
Modifier and Type | Method and Description |
---|---|
Collection<MessageListener> |
Chat.getListeners()
Returns an unmodifiable collection of all of the listeners registered with this chat.
|
Modifier and Type | Method and Description |
---|---|
void |
Chat.addMessageListener(MessageListener listener)
Adds a packet listener that will be notified of any new messages in the
chat.
|
Chat |
ChatManager.createChat(String userJID,
MessageListener listener)
Creates a new chat and returns it.
|
Chat |
ChatManager.createChat(String userJID,
String thread,
MessageListener listener)
Creates a new chat using the specified thread ID, then returns it.
|
void |
Chat.removeMessageListener(MessageListener 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,
MessageListener listener)
Returns a new Chat for sending private messages to a given room occupant.
|