Listener

interface Listener : StatisticsListener, SessionLifecycleObserver

A global session listener to get notified for some events.

Functions

Link copied to clipboard
open fun onClearCache(session: Session)
Link copied to clipboard
open fun onGlobalError(session: Session, globalError: GlobalError)

Possible cases:

Link copied to clipboard
open fun onNewInvitedRoom(session: Session, roomId: String)

Called when the session received new invites to room so the client can react to it once.

Link copied to clipboard
open fun onSessionStarted(session: Session)
Link copied to clipboard
open fun onSessionStopped(session: Session)
Link copied to clipboard
open fun onStatisticsEvent(session: Session, statisticEvent: StatisticEvent)