Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

DtmfRecognitionEngine.RecognizeAsync Method (Boolean)

Begins asynchronous recognition.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Sub RecognizeAsync ( _
    flushToneBuffer As Boolean _
)
'Usage
Dim instance As DtmfRecognitionEngine
Dim flushToneBuffer As Boolean

instance.RecognizeAsync(flushToneBuffer)
public void RecognizeAsync(
    bool flushToneBuffer
)

Parameters

Remarks

Recognition will end automatically after a single result is reported.

An InvalidOperationException will be thrown if the DtmfRecognitionEngine has no Grammar objects loaded, or if it is already active.

See Also

Reference

DtmfRecognitionEngine Class

DtmfRecognitionEngine Members

RecognizeAsync Overload

Microsoft.Speech.Recognition Namespace