com.ibm.voice.events
Interface RecognitionErrorListener

All Known Implementing Classes:
RecognitionErrorEventMulticaster

public abstract interface RecognitionErrorListener
extends java.util.EventListener

The event set listener interface for the recognitionError feature.


Method Summary
 void audioConnectionError(RecognitionErrorEvent event)
          Invoked when the speech engine and the audio does not connect.
 void dictationGrammarNotFound(RecognitionErrorEvent event)
          Invoked when the dicatation grammar is not found.
 void grammarError(RecognitionErrorEvent event)
          Invoked to indicate an erroneous grammar.
 void recognitionEngineError(RecognitionErrorEvent event)
          Invoked upon an erroneous recognizer creation or usage.
 void recognizerNotFound(RecognitionErrorEvent event)
          Invoked when the recognizer is not found.
 

Method Detail

audioConnectionError

public void audioConnectionError(RecognitionErrorEvent event)
Invoked when the speech engine and the audio does not connect.
Parameters:
event - com.ibm.voice.events.RecognitionErrorEvent

dictationGrammarNotFound

public void dictationGrammarNotFound(RecognitionErrorEvent event)
Invoked when the dicatation grammar is not found.
Parameters:
event - com.ibm.voice.events.RecognitionErrorEvent

grammarError

public void grammarError(RecognitionErrorEvent event)
Invoked to indicate an erroneous grammar.
Parameters:
event - com.ibm.voice.events.RecognitionErrorEvent

recognitionEngineError

public void recognitionEngineError(RecognitionErrorEvent event)
Invoked upon an erroneous recognizer creation or usage.
Parameters:
event - com.ibm.voice.events.RecognitionErrorEvent

recognizerNotFound

public void recognizerNotFound(RecognitionErrorEvent event)
Invoked when the recognizer is not found.
Parameters:
event - com.ibm.voice.events.RecognitionErrorEvent