Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SpeechGrammarState (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpeechGrammarState Enum

The SpeechGrammarState enumeration lists the possible states of a speech grammar.


Enum SpeechGrammarState
    SGSDisabled = 0
    SGSEnabled = 1
    SGSExclusive = 3
End Enum


SGSEnabled indicates that the grammar can receive recognitions and that its rules are active. This is the default speech grammar state.
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 indicates that this grammar is the only active grammar and disables all rules that are not part of this grammar. Currently not implemented.
© 2015 Microsoft