public class MediaEventsSubscriber extends ShellEventsSubscriber implements ShellEventsListener
ShellEventsSubscriber
this class provides convenient way for processing media events.Constructor and Description |
---|
MediaEventsSubscriber() |
Modifier and Type | Method and Description |
---|---|
void |
addMediaListener(MediaListener listener) |
void |
processEvent(ShellEvent event)
Invoked when a shell event has occurred.
|
void |
removeMediaListener(MediaListener listener) |
addShellEventsListener, removeShellEventsListener
public void addMediaListener(MediaListener listener)
public void removeMediaListener(MediaListener listener)
public void processEvent(ShellEvent event)
ShellEventsListener
processEvent
in interface ShellEventsListener