public class MediaEventMonitor
extends java.lang.Object
IMediaControl object.| Constructor and Description |
|---|
MediaEventMonitor(IMediaEvent mediaEvent)
Creates the monitor for the given filter graph
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(IMediaEvent mediaEvent) |
java.util.List<MediaEventListener> |
mediaEventListeners()
Returns the list that contains all media event listeners.
|
void |
start()
Starts this monitor.
|
void |
stop()
Stops this monitor.
|
void |
waitForCompletion()
Forces current thread to wait until graph finishes the playback.
|
public MediaEventMonitor(IMediaEvent mediaEvent)
mediaEvent - medipublic void init(IMediaEvent mediaEvent)
public void start()
public void stop()
public void waitForCompletion()
public java.util.List<MediaEventListener> mediaEventListeners()