EmulateRecognizeAsync Method (String, EmulateOptions)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition, and specifies the type of recognition operation to perform.

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

Syntax

Visual Basic (Declaration)
Public Sub EmulateRecognizeAsync ( _
	inputText As String, _
	emulateOptions As EmulateOptions _
)
Visual Basic (Usage)
Dim instance As SpeechRecognitionEngine
Dim inputText As String
Dim emulateOptions As EmulateOptions

instance.EmulateRecognizeAsync(inputText, _
	emulateOptions)
C#
public void EmulateRecognizeAsync(
	string inputText,
	EmulateOptions emulateOptions
)

Parameters

inputText
Type: System..::..String

The text to use as the input phrase.

emulateOptions
Type: Microsoft.Speech.Recognition..::..EmulateOptions

The type of recognition operation to perform.

See Also