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

Source

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

Source

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

Source

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

Source

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

Source

const static SpeechGrammarState fromVariant(Variant variant)

toFancom

Source

Variant toFancom()

vals

Source

const static SpeechGrammarState[] vals := ...

List of SpeechGrammarState values indexed by ordinal

value

Source

const Int value