Share via


CallMedia.StartTranscriptionAsync Method

Definition

Starts transcription in the call.

public virtual System.Threading.Tasks.Task<Azure.Response> StartTranscriptionAsync (Azure.Communication.CallAutomation.StartTranscriptionOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartTranscriptionAsync : Azure.Communication.CallAutomation.StartTranscriptionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StartTranscriptionAsync : Azure.Communication.CallAutomation.StartTranscriptionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StartTranscriptionAsync (Optional options As StartTranscriptionOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

options
StartTranscriptionOptions

An optional object containing start transcription options and configurations.

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error.

Applies to