Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

Windows.Media.SpeechRecognition namespace

Enables speech recognition for command and control within Windows Runtime apps.


The Windows.Media.SpeechRecognition namespace has these types of members:


SpeechContinuousRecognitionCompletedEventArgs Contains event data for the SpeechContinuousRecognitionSession.Completed event.
SpeechContinuousRecognitionResultGeneratedEventArgs Contains event data for the SpeechContinuousRecognitionSession.ResultGenerated event.
SpeechContinuousRecognitionSession Manages speech input for free-form dictation, or an arbitrary sequence of words or phrases that are defined in a grammar set.
SpeechRecognitionCompilationResult The result of compiling the constraints set for a SpeechRecognizer object.
SpeechRecognitionGrammarFileConstraint A constraint for a SpeechRecognizer object based on a Speech Recognition Grammar Specification (SRGS) file.
SpeechRecognitionHypothesis A recognition result fragment returned by the speech recognizer during an ongoing dictation session.
SpeechRecognitionHypothesisGeneratedEventArgs Contains event data for the SpeechRecognizer.HypothesisGenerated event.
SpeechRecognitionListConstraint A constraint for a SpeechRecognizer object based on a list of words or phrases.
SpeechRecognitionQualityDegradingEventArgs Provides data for the SpeechRecognitionQualityDegradingEvent event.
SpeechRecognitionResult The result of a speech recognition session.
SpeechRecognitionSemanticInterpretation Represents the semantic properties of a recognized phrase in a Speech Recognition Grammar Specification (SRGS) grammar
SpeechRecognitionTopicConstraint A pre-defined grammar constraint (specifed by SpeechRecognitionScenario) provided through a web service.
SpeechRecognitionVoiceCommandDefinitionConstraint A constraint for a SpeechRecognizer object based on a Voice Command Definition (VCD) file.
SpeechRecognizer Enables speech recognition with either a default or a custom graphical user interface (GUI).
SpeechRecognizerStateChangedEventArgs Provides data for the SpeechRecognizer.StateChangedEvent event.
SpeechRecognizerTimeouts The timespan that a speech recognizer ignores silence or unrecognizable sounds (babble) and continues listening for speech input.
SpeechRecognizerUIOptions Specifies the UI settings for the SpeechRecognizer.RecognizeWithUIAsync method.
VoiceCommandManager A static class that enables installing command sets from a Voice Command Definition (VCD) file, and getting installed command sets.
VoiceCommandSet Enables operations on a specific installed command set.



The Windows.Media.SpeechRecognition namespace has these enumerations.

SpeechContinuousRecognitionMode Specifies the behavior of the speech recognizer during a continuous recognition session.
SpeechRecognitionAudioProblem Represents the type of audio problem that occurred.
SpeechRecognitionConfidence Represents the confidence level that describes how accurately a spoken phrase was matched to a phrase in an active constraint.
SpeechRecognitionConstraintProbability An enumeration that indicates the weighted value of a constraint for speech recognition
SpeechRecognitionConstraintType Indicates the constraint type.
SpeechRecognitionResultStatus Specifies the possible result states of a speech recognition session or from the compiling of grammar constraints.
SpeechRecognitionScenario Indicates a pre-defined grammar for a web-service constraint created through a SpeechRecognitionTopicConstraint object.
SpeechRecognizerState Specifies the state of the speech recognizer.



The Windows.Media.SpeechRecognition namespace defines these interfaces.

ISpeechRecognitionConstraint Represents a constraint for a SpeechRecognizer object.



Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]


Windows::Media::SpeechRecognition [C++]



See also

Speech interactions
Speech design guidelines
Speech recognition and speech synthesis sample



© 2015 Microsoft