SessionAdapterDelegate
Public Method Summary
Type | Methods | Description | Parameters |
---|---|---|---|
void | onSessionConnected(sessionId: String, participants: [ParticipantAdapter]) | 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:ParticipantAdapter) | This event handler is invoked when a remote participant joined a session |
|
void | onRemoteParticipantLeft(participant:ParticipantAdapter) | This event handler is invoked when a participant left a session |
|
void | onRemoteParticipantStartMedia(participant:ParticipantAdapter) | This event handler is invoked when a remote participant started publishing media |
|
void | onRemoteParticipantStopMedia(participant:ParticipantAdapter) | 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