Class ConversationParticipantsChangedEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.transcription.ConversationParticipantsChangedEventArgs
-
public class ConversationParticipantsChangedEventArgs extends SessionEventArgs
Defines a payload for the ParticipantsChanged event. Added in version 1.12.0
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
eventHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Participant>getParticipants()The participant(s) that joined, left, or were updated.ParticipantChangedReasongetReason()Why the participant changed event was raised (e.g.StringtoString()Returns a String that represents the session event.-
Methods inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
close, getSessionId
-
-
-
-
Method Detail
-
getReason
public ParticipantChangedReason getReason()
Why the participant changed event was raised (e.g. a participant joined).- Returns:
- the reason.
-
getParticipants
public List<Participant> getParticipants()
The participant(s) that joined, left, or were updated.- Returns:
- The participant(s).
-
toString
public String toString()
Description copied from class:SessionEventArgsReturns a String that represents the session event.- Overrides:
toStringin classSessionEventArgs- Returns:
- a String that represents the session event.
-
-