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 Specifies the type of audio problem detected.
SpeechRecognitionConfidence Specifies confidence levels that indicate how accurately a spoken phrase was matched to a phrase in an active constraint.
SpeechRecognitionConstraintProbability Specifies the weighted value of a constraint for speech recognition
SpeechRecognitionConstraintType Specifies the type of pre-defined grammar constraint used for speech recognition.
SpeechRecognitionResultStatus Specifies the possible result states of a speech recognition session or from the compiling of grammar constraints.
SpeechRecognitionScenario Specifies the scenario used to optimize speech recognition 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.


See also

Speech interactions
Speech design guidelines
Speech recognition and speech synthesis sample



© 2016 Microsoft