Export (0) Print
Expand All

SpeechRecognitionEngine Methods

The SpeechRecognitionEngine type exposes the following members.

  Name Description
Public method Dispose() Disposes the SpeechRecognitionEngine object.
Protected method Dispose(Boolean) Disposes the SpeechRecognitionEngine object and releases resources used during the session.
Public method EmulateRecognize(String) Emulates input of a phrase to the speech recognizer, using text in place of audio for synchronous speech recognition.
Public method EmulateRecognize(RecognizedWordUnit[], CompareOptions) Emulates input of specific words to the speech recognizer, using text in place of audio for synchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the words and the loaded speech recognition grammars.
Public method EmulateRecognize(String, CompareOptions) Emulates input of a phrase to the speech recognizer, using text in place of audio for synchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars.
Public method EmulateRecognizeAsync(String) Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition.
Public method EmulateRecognizeAsync(RecognizedWordUnit[], CompareOptions) Emulates input of specific words to the speech recognizer, using an array of RecognizedWordUnit objects in place of audio for asynchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the words and the loaded speech recognition grammars.
Public method EmulateRecognizeAsync(String, CompareOptions) Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member InstalledRecognizers Returns information for all of the installed speech recognizers on the current system.
Public method LoadGrammar Synchronously loads a Grammar object.
Public method LoadGrammarAsync Asynchronously loads a speech recognition grammar.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryRecognizerSetting Returns the values of settings for the recognizer.
Public method Recognize() Performs a synchronous speech recognition operation.
Public method Recognize(TimeSpan) Performs a synchronous speech recognition operation with a specified initial silence timeout period.
Public method RecognizeAsync() Performs a single, asynchronous speech recognition operation.
Public method RecognizeAsync(RecognizeMode) Performs one or more asynchronous speech recognition operations.
Public method RecognizeAsyncCancel Terminates asynchronous recognition without waiting for the current recognition operation to complete.
Public method RecognizeAsyncStop Stops asynchronous recognition after the current recognition operation completes.
Public method RequestRecognizerUpdate() Requests that the recognizer pauses to update its state.
Public method RequestRecognizerUpdate(Object) Requests that the recognizer pauses to update its state and provides a user token for the associated event.
Public method RequestRecognizerUpdate(Object, TimeSpan) Requests that the recognizer pauses to update its state and provides an offset and a user token for the associated event.
Public method SetInputToAudioStream Configures the SpeechRecognitionEngine object to receive input from an audio stream.
Public method SetInputToDefaultAudioDevice Configures the SpeechRecognitionEngine object to receive input from the default audio device.
Public method SetInputToNull Disables the input to the speech recognizer.
Public method SetInputToWaveFile Configures the SpeechRecognitionEngine object to receive input from a Waveform audio format (.wav) file.
Public method SetInputToWaveStream Configures the SpeechRecognitionEngine object to receive input from a stream that contains Waveform audio format (.wav) data.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnloadAllGrammars Unloads all Grammar objects from the recognizer.
Public method UnloadGrammar Unloads a specified Grammar object from the SpeechRecognitionEngine instance.
Public method UpdateRecognizerSetting(String, Int32) Updates the specified setting for the SpeechRecognitionEngine with the specified integer value.
Public method UpdateRecognizerSetting(String, String) Updates the specified speech recognition engine setting with the specified string value.
Top
Show:
© 2014 Microsoft