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.