Delen via


CallMedia.UpdateTranscriptionAsync Method

Definition

Overloads

UpdateTranscriptionAsync(UpdateTranscriptionOptions, CancellationToken)

API to change transcription language.

UpdateTranscriptionAsync(String, CancellationToken)

API to change transcription language.

UpdateTranscriptionAsync(UpdateTranscriptionOptions, CancellationToken)

Source:
CallMedia.cs

API to change transcription language.

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

Parameters

options
UpdateTranscriptionOptions

An optional object containing update 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

UpdateTranscriptionAsync(String, CancellationToken)

Source:
CallMedia.cs

API to change transcription language.

public virtual System.Threading.Tasks.Task<Azure.Response> UpdateTranscriptionAsync (string locale, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTranscriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateTranscriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateTranscriptionAsync (locale As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

locale
String

Defines new locale for transcription.

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