SessionDelegate
Public Method Summary
Type | Methods | Description | Parameters |
---|---|---|---|
void | onSessionConnected(sessionId: String, participants: [Participant]) | This event handler is invoked when a session is connected |
|
void | onSessionDisconnect() | This event handler is invoked when a session finished |
|
void | onSessionError(error: Error) | This event handler is invoked when a session reported an error |
|
void | onRemoteParticipantJoined(participant: Participant) | This event handler is invoked when a remote participant joined a session |
|
void | onRemoteParticipantLeft(participant: Participant) | This event handler is invoked when a participant left a session |
|
void | onRemoteParticipantStartMedia(participant: Participant) | This event handler is invoked when a remote participant started publishing media |
|
void | onRemoteParticipantStopMedia(participant: Participant) | This event handler is invoked when a remote participant stopped publishing media |
|
void | onRemoteParticipantNotification(message: String, participantId: String) | This event handler is invoked when a remote participant send message |
|
void | onDisconnected(reason: String?, initiator: String) | This event handler is invoked when a remote participant kick you from session, with optional message/reason |
|
Last updated