Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface RecognizerListener
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-RecognizerListener-inheritance GNOME-Speech-EngineListener.html GNOME-Speech-EventListener.html Bonobo-Listener.html Bonobo-Unknown.html
Operations Summary:
 voidchangesCommitted(in RecognizerEvent e)
 voidfocusGained(in RecognizerEvent e)
 voidfocusLost(in RecognizerEvent e)
 voidrecognizerProcessing(in RecognizerEvent e)
 voidrecognizerSuspended(in RecognizerEvent e)

Operations Inherited from EngineListener
engineAllocated, engineAllocatingResources, engineDeallocated, engineDeallocatingResources, engineError, enginePaused, engineResumed

Operations Inherited from Bonobo::Listener
event, unImplemented, unImplemented2

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void changesCommitted(in RecognizerEvent e)

A CHANGES_COMMITTED event has been issued as a Recognizer changes from the SUSPENDED state to the LISTENING state and resumed recognition.

The GRAMMAR_CHANGES_COMMITTED event is issued to the GrammarListeners of all changed grammars immediately following the CHANGES_COMMITTED event.

Parameters:
e - the recognizer event.
See Also:
RecognizerEvent#CHANGES_COMMITTED
GrammarEvent#GRAMMAR_CHANGES_COMMITTED


 void focusGained(in RecognizerEvent e)

FOCUS_GAINED event has been issued as a Recognizer changes from the FOCUS_OFF state to the FOCUS_ON state. A FOCUS_GAINED event typically follows a call to requestFocus on a Recognizer.

The GRAMMAR_ACTIVATED event is issued to the GrammarListeners of all activated grammars immediately following this RecognizerEvent.

Parameters:
e - the recognizer event.
See Also:
RecognizerEvent#FOCUS_GAINED
GrammarEvent#GRAMMAR_ACTIVATED
Recognizer#requestFocus


 void focusLost(in RecognizerEvent e)

FOCUS_LOST event has been issued as a Recognizer changes from the FOCUS_ON state to the FOCUS_OFF state. A FOCUS_LOST event may follow a call to releaseFocus on a Recognizer or follow a request for focus by another application.

The GRAMMAR_DEACTIVATED event is issued to the GrammarListeners of all deactivated grammars immediately following this RecognizerEvent.

Parameters:
e - the recognizer event.
See Also:
RecognizerEvent#FOCUS_LOST
GrammarEvent#GRAMMAR_DEACTIVATED
Recognizer#releaseFocus


 void recognizerProcessing(in RecognizerEvent e)

A RECOGNIZER_PROCESSING event has been issued as a Recognizer changes from the LISTENING state to the PROCESSING state.

Parameters:
e - the recognizer event.
See Also:
RecognizerEvent#RECOGNIZER_PROCESSING


 void recognizerSuspended(in RecognizerEvent e)

A RECOGNIZER_SUSPENDED event has been issued as a Recognizer changes from either the LISTENING state or the PROCESSING state to the SUSPENDED state.

A Result finalization event (either a RESULT_ACCEPTED or RESULT_REJECTED event) is issued immediately following the RECOGNIZER_SUSPENDED event.

Parameters:
e - the recognizer event.
See Also:
RecognizerEvent#RECOGNIZER_SUSPENDED