Windows.Media.SpeechRecognition Namespace

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

Classes

SpeechContinuousRecognitionCompletedEventArgs

Contains continuous recognition 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 local grammar file constraint.

SpeechRecognitionCompilationResult

The result of compiling the constraints set for a SpeechRecognizer object.

SpeechRecognitionGrammarFileConstraint

A custom grammar constraint based on a list of words or phrases (defined in a Speech Recognition Grammar Specification (SRGS) file) that can be recognized by the SpeechRecognizer object.

Note

Speech recognition using a custom constraint is performed on the device.

SpeechRecognitionHypothesis

A recognition result fragment returned by the speech recognizer during an ongoing dictation session.

The result fragment is useful for demonstrating that speech recognition is processing input during a lengthy dictation session.

SpeechRecognitionHypothesisGeneratedEventArgs

Contains event data for the SpeechRecognizer.HypothesisGenerated event.

SpeechRecognitionListConstraint

A custom grammar constraint based on a list of words or phrases that can be recognized by the SpeechRecognizer object. When initialized, this object is added to the Constraints collection.

Note

Speech recognition using a custom constraint is performed on the device.

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 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

Note

VoiceCommandManager may be altered or unavailable for releases after Windows Phone 8.1. Instead, use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.

A static class that enables installing command sets from a Voice Command Definition (VCD) file, and accessing the installed command sets.

VoiceCommandSet

Note

VoiceCommandSet may be altered or unavailable for releases after Windows Phone 8.1. Instead, use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition.

Enables operations on a specific installed command set.

Interfaces

ISpeechRecognitionConstraint

Represents a constraint for a SpeechRecognizer object.

Enums

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 grammar definition 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.

Remarks

To use web-service constraints, speech input and dictation support must be enabled in Settings by turning on the "Get to know me" option in the Settings -> Privacy -> Speech, inking, and typing page. See "Recognize speech input" in Speech recognition.

See also