Operations Summary: | |
void | initWithGrammarAndId(in Grammar source, in long id) |
void | initWithState(in Grammar source, in long id, in boolean enabledChanged, in boolean definitionChanged, in GrammarExceptionValue grammarExceptionValue) |
boolean | getDefinitionChanged() |
boolean | getEnabledChanged() |
GrammarExceptionValue | getGrammarExceptionValue() |
Operations Inherited from SpeechEvent | |
init, initWithId, getId, getSource, paramString, toString |
Operations Inherited from Bonobo::Unknown | |
ref, unref, queryInterface |
Operation Details: |
Initializes a GrammarEvent
event with a specified
event identifier. The enabledChanged
and
definitionChanged
fields are set to false.
The grammarException
field is set to null.
Initializes a GrammarEvent
event with a specified
event identifier plus state change and exception values. For a
GRAMMAR_CHANGES_COMMITTED
event, the
enabledChanged
and definitionChanged
parameters should indicate what properties of the
Grammar
has changed, otherwise they should be false.
For a GRAMMAR_CHANGES_COMMITTED
, the
grammarException
parameter should be non-null only
if an error is encountered in the grammar definition.
enabled
property changed.
Returns true for a GRAMMAR_CHANGES_COMMITTED
event
if the definition of the source Grammar
has changed.
GRAMMAR_CHANGES_COMMITTED
event if the definition of the source Grammar
has changed.
Returns true for a GRAMMAR_CHANGES_COMMITTED
event if the enabled
property of the
Grammar
changed.
GRAMMAR_CHANGES_COMMITTED
event if the enabled
property of the Grammar
changed.
Returns non-null for a GRAMMAR_CHANGES_COMMITTED
event if an error is found in the grammar definition.
GRAMMAR_CHANGES_COMMITTED
event if an error is found in the grammar definition.