SessionListener
The Interface SessionListener monitors all the events from the Session.
The SessionListener is created together with the Session instance.
Public Method Summary
Public Method Summary
Type | Methods | Parameters |
---|---|---|
void | onConnected(List<Participant> participants) Connect to session |
|
void | onDisconnected() - Session is disconnected |
|
void | onError(SessionError error) - Receive error message |
|
void | onLocalParticipantJoined(final Participant participant) - local participant is connected to session |
|
void | onRemoteParticipantJoined(final Participant participant) - |
|
void | onUpdateParticipant(String participantId, Participant participant) |
|
void | onRemoteParticipantLeft(final Participant participant) |
|
void | onParticipantMediaStateChanged(final String participantId, final MediaConfiguration.MediaType mediaType, final MediaConfiguration.MediaState mediaState) - This method handle participant's media states |
|
void | onMessageReceived(final String participantId, final String message) The method is receiving messages from remote participants into the current room |
|
Last updated