java.lang.Object
uk.co.caprica.vlcj.player.base.EventApi
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMediaEventListener
(MediaEventListener listener) Add a component to be notified of media events.void
Add a component to be notified of media player events.void
removeMediaEventListener
(MediaEventListener listener) Remove a component that was previously interested in notifications of media events.void
Remove a component that was previously interested in notifications of media player events.
-
Method Details
-
addMediaPlayerEventListener
Add a component to be notified of media player events.- Parameters:
listener
- component to notify
-
removeMediaPlayerEventListener
Remove a component that was previously interested in notifications of media player events.- Parameters:
listener
- component to stop notifying
-
addMediaEventListener
Add a component to be notified of media events.As the current media changes, this listener will automatically be removed from the previous media and added to the new.
- Parameters:
listener
- component to notify
-
removeMediaEventListener
Remove a component that was previously interested in notifications of media events.- Parameters:
listener
- component to stop notifying
-