Partilhar via


ConversationParticipantsChangedEventArgs Class

public class ConversationParticipantsChangedEventArgs
extends SessionEventArgs

Defines a payload for the ParticipantsChanged event. Added in version 1.12.0

Method Summary

Modifier and Type Method and Description
java.util.List<Participant> getParticipants()

The participant(s) that joined, left, or were updated.

ParticipantChangedReason getReason()

Why the participant changed event was raised (e.g.

java.lang.String toString()

Returns a String that represents the session event.

Methods inherited from SessionEventArgs

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

getParticipants

public List<Participant> getParticipants()

The participant(s) that joined, left, or were updated.

Returns:

The participant(s).

getReason

public ParticipantChangedReason getReason()

Why the participant changed event was raised (e.g. a participant joined).

Returns:

the reason.

toString

public String toString()

Returns a String that represents the session event.

Overrides:

ConversationParticipantsChangedEventArgs.toString()

Applies to