interface SessionsListener
A listener to receive session events.
This interface includes the callback needed to listen to session state events and to perform the appropriate actions when one of these events are received.
abstract fun onSessionStateReceived(sessions: Sessions, state: State): Unit
Performs any actions that could be required depending on the session state. Is is invoked with the current session state when the listener is added and also whenever the session state changes after that. |