Class RoomParticipant

java.lang.Object
com.azure.communication.rooms.models.RoomParticipant

public final class RoomParticipant extends Object
The RoomParticipant model.
  • 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

      public RoleType getRole()
      Get the role property: The Role of a room participant.
      Returns:
      the role value.
    • setRole

      public RoomParticipant setRole(RoleType role)
      Set the role property: The Role of a room participant.
      Parameters:
      role - the role value to set.
      Returns:
      the RoomParticipant object itself.