SpeechGrammarState (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.