onConnected

abstract fun onConnected(room: ChatRoom)

Called when room connection is established and user can start sending and receiving messages, occurs when the room transitions into the connected state.

Parameters

room

ChatRoom instance