com.smaxe.me.uv.client.microphone
Class AbstractMicrophone

java.lang.Object
  extended by com.smaxe.me.uv.client.microphone.AbstractMicrophone
All Implemented Interfaces:
IMicrophone

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

AbstractMicrophone - abstract microphone.

Version:
1.1.10
Author:
Andrei Sochirca
See Also:
JUV RTMP Client (J2ME edition)

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.smaxe.me.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)
Adds a new listener.

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

removeListener

public final void removeListener(IMicrophone.IListener listener)
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 -