Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class javax.speech.recognition.RecognizerAudioAdapter

java.lang.Object
  |
  +--javax.speech.AudioAdapter
        |
        +--javax.speech.recognition.RecognizerAudioAdapter

public class RecognizerAudioAdapter
extends AudioAdapter
implements RecognizerAudioListener
Adaptor for a audio events of a recognizer. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.


Method Summary
void audioLevel(RecognizerAudioEvent e)
          AUDIO_LEVEL event has occurred indicating a change in the current volume of the audio input to a recognizer.
void speechStarted(RecognizerAudioEvent e)
          The recognizer has detected a possible start of speech.
void speechStopped(RecognizerAudioEvent e)
          The recognizer has detected a possible end of speech.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

speechStarted

public void speechStarted(RecognizerAudioEvent e)
The recognizer has detected a possible start of speech.

Specified by:
speechStarted in interface RecognizerAudioListener
See Also:
SPEECH_STARTED

speechStopped

public void speechStopped(RecognizerAudioEvent e)
The recognizer has detected a possible end of speech.

Specified by:
speechStopped in interface RecognizerAudioListener
See Also:
SPEECH_STOPPED

audioLevel

public void audioLevel(RecognizerAudioEvent e)
AUDIO_LEVEL event has occurred indicating a change in the current volume of the audio input to a recognizer.

Specified by:
audioLevel in interface RecognizerAudioListener
See Also:
AUDIO_LEVEL

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