org.iso.mpeg.mpegj.resource
Class MPRendererMediaEvents
java.lang.Object
|
+--java.util.EventObject
|
+--org.iso.mpeg.mpegj.resource.MPRendererMediaEvents
- public class MPRendererMediaEvents
- extends java.util.EventObject
An event object that is given to an MPRendererMediaListener.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
MPRendererMediaEvents(java.lang.Object source,
int condition)
Construct an event object with condition. |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DECODER_UNDERFLOW
public static final int DECODER_UNDERFLOW
MISSED_FRAMES
public static final int MISSED_FRAMES
MPRendererMediaEvents
public MPRendererMediaEvents(java.lang.Object source,
int condition)
throws IllegalRendererMediaEventsException
- Construct an event object with condition.
condition can be decoder underflow or missed frames
- Parameters:
source
- the source of the eventcondition
- The condition variable can correspond the to decoder underflow or missed frame.- Throws:
- IllegalRendererMediaEventsException - thrown an Illegal Renderer Event is thrown
getCondition
public int getCondition()
- Gets the Condtion. The obtained condition can correspond to decoder
underflow or a missed frame.