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 |
---|---|
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.
|
Chat |
ChatManager.getThreadChat(String thread) |
Modifier and Type | Method and Description |
---|---|
void |
ChatManagerListener.chatCreated(Chat chat,
boolean createdLocally)
Event fired when a new chat is created.
|
void |
MessageListener.processMessage(Chat chat,
Message message) |
Modifier and Type | Method and Description |
---|---|
void |
ChatStateManager.setCurrentState(ChatState newState,
Chat chat)
Sets the current state of the provided chat.
|
void |
ChatStateListener.stateChanged(Chat chat,
ChatState state)
Fired when the state of a chat with another user 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.
|