org.davic.media
Class MediaTimeEvent
java.lang.Object
org.davic.media.MediaTimeEvent
public class MediaTimeEvent
- extends java.lang.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.
Constructor Summary |
MediaTimeEvent(java.lang.Object source,
long eventTime,
int ID)
Make an event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaTimeEvent
public MediaTimeEvent(java.lang.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()
- Returns:
- the identification of this event
getSource
public java.lang.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