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

Interface javax.speech.recognition.RecognizerAudioListener

Implementing Classes:
RecognizerAudioAdapter

public abstract interface RecognizerAudioListener
extends AudioListener
Extends the set of audio event of an engine for a recognizer by adding a audio level event.

The RecognizerAudioAdapter class provided a trivial implementation of this listener.

See Also:
RecognizerAudioAdapter

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.
 

Method Detail

speechStarted

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

See Also:
SPEECH_STARTED

speechStopped

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

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.

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