Compartilhar via


ServerCall.StartRecording Método

Definição

Inicie a gravação da chamada.

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)

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