public class BaseAudioManager
extends java.lang.Object
AudioManager
interface. Actual JSAPI implementations might want to extend
or modify this implementation.| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection |
listeners
List of
AudioListeners registered for
AudioEvents on this object. |
| Constructor and Description |
|---|
BaseAudioManager()
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAudioListener(AudioListener listener)
Requests notification of
AudioEvents from the
AudioManager. |
void |
removeAudioListener(AudioListener listener)
Removes an
AudioListener from the list of
AudioListeners. |
protected java.util.Collection listeners
AudioListeners registered for
AudioEvents on this object.public void addAudioListener(AudioListener listener)
AudioEvents from the
AudioManager.listener - the listener to addpublic void removeAudioListener(AudioListener listener)
AudioListener from the list of
AudioListeners.listener - the listener to remove