Class RoomParticipant
java.lang.Object
com.azure.communication.rooms.models.RoomParticipant
The RoomParticipant model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.communication.common.CommunicationIdentifier
Get the communicationIdentifier property: Identifies a participant in Azure Communication services.getRole()
Get the role property: The Role of a room participant.setCommunicationIdentifier
(com.azure.communication.common.CommunicationIdentifier communicationIdentifier) Set the communicationIdentifier property: Identifies a participant in Azure Communication services.Set the role property: The Role of a room participant.
-
Constructor Details
-
RoomParticipant
public RoomParticipant()
-
-
Method Details
-
getCommunicationIdentifier
public com.azure.communication.common.CommunicationIdentifier getCommunicationIdentifier()Get the communicationIdentifier property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Returns:
- the communicationIdentifier value.
-
setCommunicationIdentifier
public RoomParticipant setCommunicationIdentifier(com.azure.communication.common.CommunicationIdentifier communicationIdentifier) Set the communicationIdentifier property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Parameters:
communicationIdentifier
- the communicationIdentifier value to set.- Returns:
- the RoomParticipant object itself.
-
getRole
Get the role property: The Role of a room participant.- Returns:
- the role value.
-
setRole
Set the role property: The Role of a room participant.- Parameters:
role
- the role value to set.- Returns:
- the RoomParticipant object itself.
-