Class CallParticipant
java.lang.Object
com.azure.communication.callingserver.models.CallParticipant
The participant in a call.
-
Constructor Summary
ConstructorDescriptionCallParticipant
(CommunicationIdentifier communicationIdentifier, String participantId, boolean isMuted) Initializes a new instance of CallParticipant. -
Method Summary
Modifier and TypeMethodDescriptionGet the communication identity of the participant.Get the participant id.boolean
isMuted()
Get is participant muted.
-
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
Get the communication identity of the participant.- Returns:
- the communication identity of the participant object itself
-
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
-