Dela via


ServerCall.StartRecording Method

Definition

Start recording of the call.

public virtual Azure.Response<Azure.Communication.CallingServer.StartRecordingResult> StartRecording (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 StartRecording : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>
override this.StartRecording : Uri * Nullable<Azure.Communication.CallingServer.RecordingContent> * Nullable<Azure.Communication.CallingServer.RecordingChannel> * Nullable<Azure.Communication.CallingServer.RecordingFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallingServer.StartRecordingResult>
Public Overridable Function StartRecording (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 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