java.lang.Object
uk.co.caprica.vlcj.player.base.EventApi
Behaviour pertaining to media player events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMediaEventListener(MediaEventListener listener) Add a component to be notified of media events.voidAdd a component to be notified of media player events.voidremoveMediaEventListener(MediaEventListener listener) Remove a component that was previously interested in notifications of media events.voidRemove 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
-