Partager via


CallMedia.StartRecognizingAsync Méthode

Définition

Reconnaître les tonalités.

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))

Paramètres

options
CallMediaRecognizeOptions

Attributs de configuration pour recognize.

cancellationToken
CancellationToken

CancelToken facultatif pour annuler la demande.

Retours

Retourne StartRecognizingCallMediaResult, qui peut être utilisé pour attendre les événements associés de StartRecognizing.

S’applique à