Class CommunicationRoom

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

public final class CommunicationRoom extends Object
The CommunicationRoom model.
  • Constructor Details

    • CommunicationRoom

      public CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, RoomJoinPolicy roomJoinPolicy, OffsetDateTime createdTime, List<RoomParticipant> participants)
      The default constructor of CommunicationRoom.
      Parameters:
      roomId - The Room Id.
      validFrom - The starting time point of the room.
      validUntil - The ending time point of the room.
      roomJoinPolicy - The join policy of the room.
      createdTime - The created time point of the room.
      participants - The participants of the room.
  • Method Details

    • getRoomId

      public String getRoomId()
      Get the Room Id.
      Returns:
      Room Id.
    • getParticipants

      public List<RoomParticipant> getParticipants()
      Get the participants of a room.
      Returns:
      The participants of the room.
    • getValidFrom

      public OffsetDateTime getValidFrom()
      Get the valid starting time point of a room.
      Returns:
      The starting time of the room.
    • getValidUntil

      public OffsetDateTime getValidUntil()
      Get the ending time point of a room.
      Returns:
      The end time of the room.
    • getCreatedTime

      public OffsetDateTime getCreatedTime()
      Get the created time of the room.
      Returns:
      The created time of the room.
    • getRoomJoinPolicy

      public RoomJoinPolicy getRoomJoinPolicy()
      Get the join policy.
      Returns:
      The join policy of the room.