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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 2011. All Rights Reserved.