SpeechRecognizerInputSetting.SetInputToText Method

Sets the input to the specified text input.

Syntax

public:
void SetInputToText(
         String^ text
)  

Parameters

text
Type: String 

 The text input.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

Remarks

SetInputToText will hang when called after SetInputToAudioStream or SetInputToMicrophone if the recognition from a wave file is interrupted before the entire .wav file is processed; typically this only happens with continuous recognition by using the StopContinuousRecognition API.

See also

Reference

SpeechRecognizerInputSetting Class

SpeechRecognizerInputSetting Members

Windows.Xbox.Speech.Recognition Namespace