SpeechGrammarState (SAPI 5.3)
Microsoft Speech API 5.3
SpeechGrammarState Enum
The SpeechGrammarState enumeration lists the possible states of a speech grammar.
Definition
Enum SpeechGrammarState
SGSDisabled = 0
SGSEnabled = 1
SGSExclusive = 3
End Enum
Elements
- SGSEnabled
SGSEnabled indicates that the grammar can receive recognitions and that its rules are active. This is the default speech grammar state. - SGSDisabled
SGSDisabled indicates that the grammar cannot receive recognitions and that its rules are inactive. Rules can still be added to a grammar in this state. - SGSExclusive
SGSExclusive indicates that this grammar is the only active grammar and disables all rules that are not part of this grammar. Currently not implemented.