Class CallParticipant

java.lang.Object
com.azure.communication.callingserver.models.CallParticipant

public final class CallParticipant extends Object
The participant in a call.
  • Constructor Details

    • CallParticipant

      public CallParticipant(CommunicationIdentifier communicationIdentifier, String participantId, boolean isMuted)
      Initializes a new instance of CallParticipant.
      Parameters:
      communicationIdentifier - Communication Identifier.
      participantId - Participant Id.
      isMuted - Is participant muted.
      Throws:
      IllegalArgumentException - if either parameter is null.
  • Method Details

    • getIdentifier

      public CommunicationIdentifier getIdentifier()
      Get the communication identity of the participant.
      Returns:
      the communication identity of the participant object itself
    • getParticipantId

      public String getParticipantId()
      Get the participant id.
      Returns:
      the participant id value.
    • isMuted

      public boolean isMuted()
      Get is participant muted.
      Returns:
      the communication identity of the participant object itself