RecognizeAsync Method (Boolean)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Begins asynchronous recognition.

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

Syntax

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

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

Parameters

flushToneBuffer
Type: System..::..Boolean

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