onSessionStateReceived

abstract fun onSessionStateReceived(sessions: Sessions, state: Session.State)

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.

Parameters

sessions

Session service.

state

Session state.