ISpeechRecognizerStatus Interface (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpeechRecognizerStatus

The ISpeechRecognizerStatus automation interface returns the status of the speech recognition (SR) engine represented by the recognizer object.

This method provides information for static elements about the SR engine such as the languages it supports. It also provides information for dynamic elements such as the engine's current stream position, and whether the stream is actively being sent to the engine.

These dynamic elements are equivalent to parameters returned by recognition context events. It may be advantageous for some applications to retrieve these elements by calling Status occasionally, rather than by receiving events constantly.

Automation Interface Elements

The ISpeechRecognizerStatus automation interface contains the following elements:


PropertiesDescription
AudioStatus PropertyReturns the status of the recognizer's audio output.
ClsidEngine PropertyReturns the unique identifier associated with the current engine.
CurrentStreamNumber PropertyReturns the number of the current recognition stream.
CurrentStreamPosition PropertyReturns the recognizer's position in the recognition stream, in bytes.
NumberOfActiveRules PropertyReturns the current engine's number of active rules.
SupportedLanguages PropertyReturns an array containing the languages the active engine supports.
Show: