| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
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.
A trivial implementation of EngineListener is
provided by the EngineAdapter class.
RecognizerAdapter and SynthesizerAdapter
classes are also available.
| Method Summary | |
| void | engineAllocated(EngineEvent e)
The Engine has been allocated.
|
| void | engineAllocatingResources(EngineEvent e)
The Engine is being allocated.
|
| void | engineDeallocated(EngineEvent e)
The Engine has been deallocated.
|
| void | engineDeallocatingResources(EngineEvent e)
The Engine is being deallocated.
|
| void | engineError(EngineErrorEvent e)
An EngineErrorEvent has occurred and the
Engine is unable to continue normal operation.
|
| void | enginePaused(EngineEvent e)
The Engine has been paused.
|
| void | engineResumed(EngineEvent e)
The Engine has been resumed.
|
| Method Detail |
public void enginePaused(EngineEvent e)
Engine has been paused.
public void engineResumed(EngineEvent e)
Engine has been resumed.
public void engineAllocated(EngineEvent e)
Engine has been allocated.
public void engineDeallocated(EngineEvent e)
Engine has been deallocated.
public void engineAllocatingResources(EngineEvent e)
Engine is being allocated.
public void engineDeallocatingResources(EngineEvent e)
Engine is being deallocated.
public void engineError(EngineErrorEvent e)
EngineErrorEvent has occurred and the
Engine is unable to continue normal operation.
| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
JavaTM Speech API
Copyright 1997-1998 Sun Microsystems, Inc. All rights reserved
Send comments to javaspeech-comments@sun.com