共用方式為


CallMedia.StartRecognizingAsync Method

Definition

Recognize tones.

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

Parameters

options
CallMediaRecognizeOptions

Configuration attributes for recognize.

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns StartRecognizingCallMediaResult, which can be used to wait for StartRecognizing's related events.

Applies to