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

Field Summary
static int DECODER_UNDERFLOW
           
static int MISSED_FRAMES
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MPRendererMediaEvents(java.lang.Object source, int condition)
          Construct an event object with condition.
 
Method Summary
 int getCondition()
          Gets the Condtion.
 
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
 

Field Detail

DECODER_UNDERFLOW

public static final int DECODER_UNDERFLOW

MISSED_FRAMES

public static final int MISSED_FRAMES
Constructor Detail

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 event
condition - The condition variable can correspond the to decoder underflow or missed frame.
Throws:
IllegalRendererMediaEventsException - thrown an Illegal Renderer Event is thrown
Method Detail

getCondition

public int getCondition()
Gets the Condtion. The obtained condition can correspond to decoder underflow or a missed frame.