public abstract class AbstractMicrophone extends java.lang.Object implements IMicrophone
AbstractMicrophone - base IMicrophone implementation.IMicrophone.IListener, IMicrophone.ListenerAdapter| Constructor and Description |
|---|
AbstractMicrophone()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public final void addListener(IMicrophone.IListener listener)
IMicrophoneaddListener in interface IMicrophonelistener - listener to addpublic final void removeListener(IMicrophone.IListener listener)
IMicrophoneremoveListener in interface IMicrophonelistener - listener to removeprotected final void fireOnAudioData(MediaData data)
data -