CallMedia.StartRecognizing Method

Definition

Recognize tones.

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