Dela via


RoomsClient Class

Definition

The Azure Communication Services Rooms client.

public class RoomsClient
type RoomsClient = class
Public Class RoomsClient
Inheritance
RoomsClient

Constructors

RoomsClient()

Initializes a new instance of the RoomsClient class for mock.

RoomsClient(String, RoomsClientOptions)

Initializes a new instance of the RoomsClient class.

RoomsClient(String)

Initializes a new instance of the RoomsClient class.

RoomsClient(Uri, AzureKeyCredential, RoomsClientOptions)

Initializes a new instance of the RoomsClient class.

RoomsClient(Uri, TokenCredential, RoomsClientOptions)

Initializes a new instance of the RoomsClient class.

Methods

AddOrUpdateParticipants(String, IEnumerable<RoomParticipant>, CancellationToken)

Add or update participants in a room.

AddOrUpdateParticipantsAsync(String, IEnumerable<RoomParticipant>, CancellationToken)

Add or update participants in a room asynchronously.

CreateRoom(CreateRoomOptions, CancellationToken)

Creates a new room.

CreateRoom(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)

Creates a new room.

CreateRoomAsync(CreateRoomOptions, CancellationToken)

Creates a new room asynchronously.

CreateRoomAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)

Creates a new room asynchronously.

DeleteRoom(String, CancellationToken)

Deletes a room by id.

DeleteRoomAsync(String, CancellationToken)

Deletes a room by id asynchronously.

GetParticipants(String, CancellationToken)

Gets the room participants.

GetParticipantsAsync(String, CancellationToken)

Gets the room participants asynchronously.

GetRoom(String, CancellationToken)

Gets a room by id.

GetRoomAsync(String, CancellationToken)

Gets a room by id asynchronously.

GetRooms(CancellationToken)

Gets all rooms.

GetRoomsAsync(CancellationToken)

Gets all rooms asynchronously.

RemoveParticipants(String, IEnumerable<CommunicationIdentifier>, CancellationToken)

Remove room participants.

RemoveParticipantsAsync(String, IEnumerable<CommunicationIdentifier>, CancellationToken)

Delete room participants async.

UpdateRoom(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken)

Updates a room.

UpdateRoom(String, UpdateRoomOptions, CancellationToken)

Updates a room.

UpdateRoomAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken)

Updates a room asynchronously.

UpdateRoomAsync(String, UpdateRoomOptions, CancellationToken)

Updates a room asynchronously.

Applies to