Enables speech recognition with either a default or a custom graphical user interface (GUI).
public : sealed class SpeechRecognizer : IClosable
struct winrt::Windows::Media::SpeechRecognition::SpeechRecognizer : IClosable
public sealed class SpeechRecognizer : IDisposable
Public NotInheritable Class SpeechRecognizer Implements IDisposable
var speechRecognizer = new speechRecognizer();
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
|Windows version||SDK version||Value added|
|SpeechRecognizer() SpeechRecognizer() SpeechRecognizer() SpeechRecognizer() SpeechRecognizer()||
Creates a new instance of the SpeechRecognizer class.
|SpeechRecognizer(Language) SpeechRecognizer(Language) SpeechRecognizer(Language) SpeechRecognizer(Language) SpeechRecognizer(Language)||
Creates a new instance of the SpeechRecognizer class with a language specifier.
|HypothesisGenerated HypothesisGenerated HypothesisGenerated HypothesisGenerated HypothesisGenerated||
Occurs during an ongoing dictation session when a recognition result fragment is returned by the speech recognizer.
|RecognitionQualityDegrading RecognitionQualityDegrading RecognitionQualityDegrading RecognitionQualityDegrading RecognitionQualityDegrading||
This event is raised when an audio problem is detected that might affect recognition accuracy.
|StateChanged StateChanged StateChanged StateChanged StateChanged||
This event is raised when a change occurs to the State property during audio capture.
Send feedback about: