# SessionsListener

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.

## Functions

onSessionStateReceived
Link copied to clipboard
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.