Class BaseAudioManager


  • public class BaseAudioManager
    extends java.lang.Object
    Supports the JSAPI 1.0 AudioManager interface. Actual JSAPI implementations might want to extend or modify this implementation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Collection listeners
      List of AudioListeners registered for AudioEvents on this object.
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseAudioManager()
      Class constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAudioListener​(AudioListener listener)
      Requests notification of AudioEvents from the AudioManager.
      void removeAudioListener​(AudioListener listener)
      Removes an AudioListener from the list of AudioListeners.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • listeners

        protected java.util.Collection listeners
        List of AudioListeners registered for AudioEvents on this object.
    • Constructor Detail

      • BaseAudioManager

        public BaseAudioManager()
        Class constructor.
    • Method Detail

      • addAudioListener

        public void addAudioListener​(AudioListener listener)
        Requests notification of AudioEvents from the AudioManager.
        Parameters:
        listener - the listener to add
      • removeAudioListener

        public void removeAudioListener​(AudioListener listener)
        Removes an AudioListener from the list of AudioListeners.
        Parameters:
        listener - the listener to remove