listener

var listener: ChatRoomListener? = null

Property for attaching ChatRoomListener interface that will raise lifecycle events, e.g. ChatRoomListener.onConnected and receive events, e.g. ChatRoomListener.onMessageReceived.