共用方式為


CallMedia.UpdateTranscription Method

Definition

Overloads

UpdateTranscription(UpdateTranscriptionOptions, CancellationToken)

API to change transcription language.

UpdateTranscription(String, CancellationToken)

API to change transcription language.

UpdateTranscription(UpdateTranscriptionOptions, CancellationToken)

Source:
CallMedia.cs

API to change transcription language.

public virtual Azure.Response UpdateTranscription (Azure.Communication.CallAutomation.UpdateTranscriptionOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTranscription : Azure.Communication.CallAutomation.UpdateTranscriptionOptions * System.Threading.CancellationToken -> Azure.Response
override this.UpdateTranscription : Azure.Communication.CallAutomation.UpdateTranscriptionOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateTranscription (Optional options As UpdateTranscriptionOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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

UpdateTranscription(String, CancellationToken)

Source:
CallMedia.cs

API to change transcription language.

public virtual Azure.Response UpdateTranscription (string locale, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTranscription : string * System.Threading.CancellationToken -> Azure.Response
override this.UpdateTranscription : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateTranscription (locale As String, Optional cancellationToken As CancellationToken = Nothing) As 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