Sdílet prostřednictvím


CallConnection Class

Definition

The Azure Communication Services Calling Server client.

public class CallConnection
type CallConnection = class
Public Class CallConnection
Inheritance
CallConnection

Constructors

CallConnection()

Initializes a new instance of CallingServerClient for mocking.

Properties

CallConnectionId

The call connection id.

Methods

AddParticipant(CommunicationIdentifier, String, String, CancellationToken)

Add a participant to the call.

AddParticipantAsync(CommunicationIdentifier, String, String, CancellationToken)

Add a participant to the call.

CancelAllMediaOperations(String, CancellationToken)

Cancel all media operations in the call.

CancelAllMediaOperationsAsync(String, CancellationToken)

Cancel all media operations in the call.

Hangup(CancellationToken)

Disconnect the current caller in a group-call or end a p2p-call.

HangupAsync(CancellationToken)

Disconnect the current caller in a group-call or end a p2p-call.

PlayAudio(PlayAudioOptions, CancellationToken)

Play audio in the call.

PlayAudio(Uri, Nullable<Boolean>, String, Uri, String, CancellationToken)

Play audio in the call.

PlayAudioAsync(PlayAudioOptions, CancellationToken)

Play audio in the call.

PlayAudioAsync(Uri, Nullable<Boolean>, String, Uri, String, CancellationToken)

Play audio in the call.

RemoveParticipant(String, CancellationToken)

Remove a participants from the call.

RemoveParticipantAsync(String, CancellationToken)

Remove a participant from the call.

Applies to