Chats
Properties
Contains the list of chat instances associated with the current user.
Current XMPP session state.
Returns a Boolean value indicating whether the current XMPPConnection is able to use the file upload feature. If should be called after receiving the event indicating that the xmpp session is authenticated.
Functions
Adds a listener to receive different chat client events.
Adds a listener to receive different group chat events.
Adds a listener to receive different chats events.
Connects a chat session.
Creates a new chat.
Disables the Push Notifications for incoming messages. Disables notifications against XMPP server.
Disconnects a chat session and disables the chat push notifications. This should be called on logout.
Enables the Push Notifications for incoming messages. Enable notifications against XMPP server. It must be called after setPushToken or to have the dnd option disabled in order for it to work.
Find a cached Chat that was identified by the stanzaId.
Fetches both individual and group chats related to this user.
Fetches all group chats related to this user.
Fetches all individual chats related to this user.
Joins all the group chats in the list of currentGroupChats.
Removes the specified listener.
Removes the specified listener.
Removes the specified listener.
Restores the active xmpp session.
Suspends a chat session. This should be called when the app enters background in order to receive chat push notifications.