CallMedia.StartRecognizingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.