Interface defining methods to be called when state-change events
for a speech engine occur. To receive engine events an application
attaches a listener by calling the addEngineListener
method of an Engine. A listener is removed by a call
to the removeEngineListener method.
The event dispatch policy is defined in the documentation for the
SpeechEvent class.
This interface is extended by the RecognizerListener and
SynthesizerListener interfaces to handle the specialized
events of speech recognizers and synthesizers.
SpeechEvent
RecognizerListener
SynthesizerListener | Operations Summary: | |
| void | engineAllocated(in EngineEvent e) |
| void | engineAllocatingResources(in EngineEvent e) |
| void | engineDeallocated(in EngineEvent e) |
| void | engineDeallocatingResources(in EngineEvent e) |
| void | engineError(in EngineErrorEvent e) |
| void | enginePaused(in EngineEvent e) |
| void | engineResumed(in EngineEvent e) |
| Operations Inherited from Bonobo::Listener | |
| event, unImplemented, unImplemented2 | |
| Operations Inherited from Bonobo::Unknown | |
| ref, unref, queryInterface | |
| Operation Details: |
The Engine has been allocated.
EngineEvent causing this state change. EngineEvent#ENGINE_ALLOCATED
The Engine is being allocated.
EngineEvent causing this state change. EngineEvent#ENGINE_ALLOCATING_RESOURCES
The Engine has been deallocated.
EngineEvent causing this state change. EngineEvent#ENGINE_DEALLOCATED
The Engine is being deallocated.
EngineEvent causing this state change. EngineEvent#ENGINE_DEALLOCATING_RESOURCES
An EngineErrorEvent has occurred and the
Engine is unable to continue normal operation.
EngineEvent causing this state change. EngineErrorEvent
The Engine has been paused.
EngineEvent causing this state change. EngineEvent#ENGINE_PAUSED
The Engine has been resumed.
EngineEvent causing this state change. EngineEvent#ENGINE_RESUMED