enum classafFancomSapi::SpeechGrammarState
sys::Obj sys::Enum afFancomSapi::SpeechGrammarState
@
Serializable { simple=true }
Lists the possible states of a speech grammar.
http://msdn.microsoft.com/en-us/library/ee125199%28v=vs.85%29.aspx
- SGSDisabled
const static SpeechGrammarState 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.
Value is 0 (0x0)
- SGSEnabled
const static SpeechGrammarState SGSEnabled := ...
SGSEnabled indicates that the grammar can receive recognitions and that its rules are active. This is the default speech grammar state.
Value is 1 (0x1)
- SGSExclusive
const static SpeechGrammarState 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.
Value is 3 (0x3)
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the SpeechGrammarState instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- fromVariant
static SpeechGrammarState fromVariant(Variant variant)
- toFancom
Variant toFancom()
- vals
const static SpeechGrammarState[] vals := ...
List of SpeechGrammarState values indexed by ordinal
- value
const Int value