SpeechRecognitionResultRecievedEventArgs.Text property
The Text property contains the recognized text of a preliminary speech recognition result.
Type: System.String
The recognized text.
When the SpeechRecognizer.RecognizeSpeechToTextAsync() method makes a hypothesis about what the user said it raises the SpeechRecognizer.RecognizerResultReceived event. The SpeechRecognitionResultReceivedEventArgs for the event contain the proposed text in the Text property and a Boolean value in the IsHypothesis property to indicate whether the current text is a hypothesis or the final result.
Caution |
|---|
When collecting speech results or intermediate results in a JavaScript application, quiet or unclear speech may cause this property to return an error object instead of result text. To maintain smooth program flow, verify that this property is a string before attempting to read it. For more information, see How to: Add the Bing Speech Recognition Control to an application with a custom UI. |
Requirements
Minimum Supported Client | Windows 8 |
Required Extensions | Bing.Speech |
Namespace |
