ChatClientListener

interface ChatClientListener

A listener to receive chat client events.

This interface includes the callback needed to listen to the chat client state events and to perform the appropriate actions when one of these events are received.

Functions

Link copied to clipboard
abstract fun onChatStateReceived(chats: Chats, state: XmppClient.State)

Performs any actions that could be required depending on the chat client state. Is is invoked with the current chat client state when the listener is added and also whenever the chat client state changes after that.