com.smaxe.uv.client.microphone
Class AbstractMicrophone

java.lang.Object
  extended by com.smaxe.uv.client.microphone.AbstractMicrophone
All Implemented Interfaces:
IMicrophone
Direct Known Subclasses:
MediaStreamMicrophone

public abstract class AbstractMicrophone
extends java.lang.Object
implements IMicrophone

AbstractMicrophone - base IMicrophone implementation.

Version:
1.5.12
Author:
Andrei Sochirca
See Also:
JUV RTMP Client

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.smaxe.uv.client.IMicrophone
IMicrophone.IListener, IMicrophone.ListenerAdapter
 
Constructor Summary
AbstractMicrophone()
          Constructor.
 
Method Summary
 void addListener(IMicrophone.IListener listener)
          Adds a new listener.
protected  void fireOnAudioData(MediaData data)
          Fires 'onAudioData' on all listeners (for use in subclasses).
 void removeListener(IMicrophone.IListener listener)
          Removes the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMicrophone

public AbstractMicrophone()
Constructor.

Method Detail

addListener

public final void addListener(IMicrophone.IListener listener)
Description copied from interface: IMicrophone
Adds a new listener.

Specified by:
addListener in interface IMicrophone
Parameters:
listener - listener to add

removeListener

public final void removeListener(IMicrophone.IListener listener)
Description copied from interface: IMicrophone
Removes the listener.

Specified by:
removeListener in interface IMicrophone
Parameters:
listener - listener to remove

fireOnAudioData

protected final void fireOnAudioData(MediaData data)
Fires 'onAudioData' on all listeners (for use in subclasses).

Parameters:
data -