JSR-043: JTAPI-1.4

javax.telephony.media
Interface ASRListener

All Superinterfaces:
java.util.EventListener, MediaListener, ResourceListener
All Known Implementing Classes:
Async_ASRListenerAdapter

public interface ASRListener
extends ResourceListener

Defines the callback methods for non-transactional ASR Events.

Since:
JTAPI-1.4

Method Summary
 void onIntermediateResultsReady(ASREvent ev)
          Intermediate recognition results are ready.
 void onInvalidUtterance(ASREvent ev)
          an invalid utterance has been recognized.
 void onRecognitionStarted(ASREvent ev)
          paused recognition has started due to RTC.
 void onValidUtterance(ASREvent ev)
          a valid utterance has been recognized.
 

Method Detail

onRecognitionStarted

public void onRecognitionStarted(ASREvent ev)
paused recognition has started due to RTC.
Parameters:
ev - an ASREvent object

onIntermediateResultsReady

public void onIntermediateResultsReady(ASREvent ev)
Intermediate recognition results are ready.
Parameters:
ev - an ASREvent object

onValidUtterance

public void onValidUtterance(ASREvent ev)
a valid utterance has been recognized.
Parameters:
ev - an ASREvent object

onInvalidUtterance

public void onInvalidUtterance(ASREvent ev)
an invalid utterance has been recognized.
Parameters:
ev - an ASREvent object

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org