CallMedia.StopTranscriptionAsync Method

Definition

Stops transcription in the call.

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

Parameters

options
StopTranscriptionOptions

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