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.AudioEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.speech.SpeechEvent
              |
              +--javax.speech.AudioEvent
Subclasses:
RecognizerAudioEvent

public class AudioEvent
extends SpeechEvent
Describes events associated with audio input/output for an Engine. The event source is an Engine object.

Extended by the RecognizerAudioEvent class that provides specialized events for a Recognizer.

Note: until the Java Sound API is finalized, the AudioManager and other audio classes and interfaces will remain as placeholders for future expansion. Only the Recognizer audio events are functional in this release.

See Also:
Engine, RecognizerAudioEvent, Serialized Form

Fields inherited from class javax.speech.SpeechEvent
id
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AudioEvent(Engine source, int id)
          Constructs an AudioEvent with a specified id.
 
Method Summary
String paramString()
          Returns a parameter string identifying this event.
 
Methods inherited from class javax.speech.SpeechEvent
getId, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

AudioEvent

public AudioEvent(Engine source,
                  int id)
Constructs an AudioEvent with a specified id.

Parameters:
source - Engine that produced the event
id - type of audio event
Method Detail

paramString

public String paramString()
Returns a parameter string identifying this event. This method is useful for event-logging and for debugging.

Returns:
a string identifying the event
Overrides:
paramString in class SpeechEvent

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