org.davic.media
Class MediaTimeEvent
java.lang.Object
org.davic.media.MediaTimeEvent
public class MediaTimeEvent
- extends Object
The MediaTimeEvent class describes events that are associated with the stream by the application.
These events are posted whenever the Controller encounters a media position which has been
associated with the stream by the local application. The event includes the associated media time
encoded as a long and the event identification encoded as an int.
MediaTimeEvent
public MediaTimeEvent(Object source,
long eventTime,
int ID)
- Make an event
- Parameters:
source
- the object generating the evenTeventTime
- the media time at which the event firedID
- the event identification
getEventTime
public long getEventTime()
- Returns:
- the time with which this event was associated
getEventId
public int getEventId()
getSource
public Object getSource()
- This method returns the source for the event. It may be
inherited from sunw.util.EventObject or java.util.EventObject
- Returns:
- the source of the event