JSR-043: JTAPI-1.4

javax.telephony.media.async
Class Async_ASRListenerAdapter

java.lang.Object
  |
  +--javax.telephony.media.async.Async_ASRListenerAdapter
All Implemented Interfaces:
ASRListener, Async_ASRListener, java.util.EventListener, MediaListener, ResourceListener

public class Async_ASRListenerAdapter
extends java.lang.Object
implements Async_ASRListener, ASRListener

Implements all Async_ASRListener and ASRListener methods. Each method does nothing.

Since:
JTAPI-1.4

Constructor Summary
Async_ASRListenerAdapter()
           
 
Method Summary
 void onContextCopyDone(ASREvent event)
          Invoked when async_contextCopy completes.
 void onContextCreateDone(ASREvent event)
          Invoked when async_contextCreate completes.
 void onContextGetParametersDone(ASREvent event)
          Invoked when async_contextGetParameters completes.
 void onContextRemoveDone(ASREvent event)
          Invoked when async_contextRemove completes.
 void onContextSetParametersDone(ASREvent event)
          Invoked when async_contextSetParamters completes.
 void onGetFinalResultsDone(ASREvent event)
          Invoked when async_getFinalResults completes.
 void onGetResultsDone(ASREvent event)
          Invoked when async_getResults completes.
 void onGetRuleExpansionDone(ASREvent event)
          Invoked when async_getRuleExpansion completes.
 void onIdleDone(ASREvent event)
          Invoked when async_idleASR completes.
 void onIntermediateResultsReady(ASREvent event)
          Intermediate recognition results are ready.
 void onInvalidUtterance(ASREvent event)
          an invalid utterance has been recognized.
 void onRecognitionStarted(ASREvent event)
          paused recognition has started due to RTC.
 void onRecognizeDone(ASREvent event)
          Invoked when async_recognize completes.
 void onSetRuleExpansionDone(ASREvent event)
          Invoked when async_setRuleExpansion completes.
 void onStartDone(ASREvent event)
          Invoked when async_startASR completes.
 void onStopDone(ASREvent event)
          Invoked when async_stopASR completes.
 void onUpdateParametersDone(ASREvent event)
          Invoked when async_updateParameters completes.
 void onValidUtterance(ASREvent event)
          a valid utterance has been recognized.
 void onWordCommitDone(ASREvent event)
          Invoked when async_wordCommit completes.
 void onWordCreateDone(ASREvent event)
          Invoked when async_wordCreate completes.
 void onWordDeleteLastUtteranceDone(ASREvent event)
          Invoked when async_wordDeleteLastUtterance completes.
 void onWordDeleteTrainingDone(ASREvent event)
          Invoked when async_wordDeleteTraining completes.
 void onWordDestroyDone(ASREvent event)
          Invoked when async_wordDestroy completes.
 void onWordTrainDone(ASREvent event)
          Invoked when async_wordTrain completes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Async_ASRListenerAdapter

public Async_ASRListenerAdapter()
Method Detail

onRecognitionStarted

public void onRecognitionStarted(ASREvent event)
Description copied from interface: ASRListener
paused recognition has started due to RTC.
Specified by:
onRecognitionStarted in interface ASRListener
Following copied from interface: javax.telephony.media.ASRListener
Parameters:
ev - an ASREvent object

onIntermediateResultsReady

public void onIntermediateResultsReady(ASREvent event)
Description copied from interface: ASRListener
Intermediate recognition results are ready.
Specified by:
onIntermediateResultsReady in interface ASRListener
Following copied from interface: javax.telephony.media.ASRListener
Parameters:
ev - an ASREvent object

onValidUtterance

public void onValidUtterance(ASREvent event)
Description copied from interface: ASRListener
a valid utterance has been recognized.
Specified by:
onValidUtterance in interface ASRListener
Following copied from interface: javax.telephony.media.ASRListener
Parameters:
ev - an ASREvent object

onInvalidUtterance

public void onInvalidUtterance(ASREvent event)
Description copied from interface: ASRListener
an invalid utterance has been recognized.
Specified by:
onInvalidUtterance in interface ASRListener
Following copied from interface: javax.telephony.media.ASRListener
Parameters:
ev - an ASREvent object

onRecognizeDone

public void onRecognizeDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_recognize completes.
Specified by:
onRecognizeDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onGetResultsDone

public void onGetResultsDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_getResults completes.
Specified by:
onGetResultsDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onGetFinalResultsDone

public void onGetFinalResultsDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_getFinalResults completes.
Specified by:
onGetFinalResultsDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onStartDone

public void onStartDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_startASR completes.
Specified by:
onStartDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onStopDone

public void onStopDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_stopASR completes.
Specified by:
onStopDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onIdleDone

public void onIdleDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_idleASR completes.
Specified by:
onIdleDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onUpdateParametersDone

public void onUpdateParametersDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_updateParameters completes.
Specified by:
onUpdateParametersDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onGetRuleExpansionDone

public void onGetRuleExpansionDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_getRuleExpansion completes.
Specified by:
onGetRuleExpansionDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onSetRuleExpansionDone

public void onSetRuleExpansionDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_setRuleExpansion completes.
Specified by:
onSetRuleExpansionDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onContextCopyDone

public void onContextCopyDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_contextCopy completes.
Specified by:
onContextCopyDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onContextCreateDone

public void onContextCreateDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_contextCreate completes.
Specified by:
onContextCreateDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onContextGetParametersDone

public void onContextGetParametersDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_contextGetParameters completes.
Specified by:
onContextGetParametersDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onContextRemoveDone

public void onContextRemoveDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_contextRemove completes.
Specified by:
onContextRemoveDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onContextSetParametersDone

public void onContextSetParametersDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_contextSetParamters completes.
Specified by:
onContextSetParametersDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordCommitDone

public void onWordCommitDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordCommit completes.
Specified by:
onWordCommitDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordCreateDone

public void onWordCreateDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordCreate completes.
Specified by:
onWordCreateDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordDeleteLastUtteranceDone

public void onWordDeleteLastUtteranceDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordDeleteLastUtterance completes.
Specified by:
onWordDeleteLastUtteranceDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordDeleteTrainingDone

public void onWordDeleteTrainingDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordDeleteTraining completes.
Specified by:
onWordDeleteTrainingDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordDestroyDone

public void onWordDestroyDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordDestroy completes.
Specified by:
onWordDestroyDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

onWordTrainDone

public void onWordTrainDone(ASREvent event)
Description copied from interface: Async_ASRListener
Invoked when async_wordTrain completes.
Specified by:
onWordTrainDone in interface Async_ASRListener
Following copied from interface: javax.telephony.media.async.Async_ASRListener
Parameters:
event - an ASREvent that isDone().

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org