Compartilhar via


ServerCall.StartRecordingAsync Método

Definição

Inicie a gravação da chamada.

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))

Parâmetros

recordingStateCallbackUri
Uri

O URI para enviar retornos de chamada de alteração de estado.

content
Nullable<RecordingContent>

conteúdo para gravação.

channel
Nullable<RecordingChannel>

canal para gravação.

format
Nullable<RecordingFormat>

formato para gravação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a