Dela via


ServerCall.StartRecordingAsync Method

Definition

Start recording of the call.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>> StartRecordingAsync (Uri recordingStateCallbackUri, Azure.Communication.CallingServer.RecordingContent? content = default, Azure.Communication.CallingServer.RecordingChannel? channel = default, Azure.Communication.CallingServer.RecordingFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
override this.StartRecordingAsync : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>>
Public Overridable Function StartRecordingAsync (recordingStateCallbackUri As Uri, Optional content As Nullable(Of RecordingContent) = Nothing, Optional channel As Nullable(Of RecordingChannel) = Nothing, Optional format As Nullable(Of RecordingFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StartRecordingResult))

Parameters

recordingStateCallbackUri
Uri

The uri to send state change callbacks.

content
Nullable<RecordingContent>

content for recording.

channel
Nullable<RecordingChannel>

channel for recording.

format
Nullable<RecordingFormat>

format for recording.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to