Class MediaListPlayerEventAdapter

  • All Implemented Interfaces:
    MediaListPlayerEventListener

    public class MediaListPlayerEventAdapter
    extends Object
    implements MediaListPlayerEventListener
    Default implementation of the media player event listener.

    Simply override the methods you're interested in.

    Events are not raised on the Swing Event Dispatch thread so if updating user interface components in response to these events care must be taken to use SwingUtilities.invokeLater(Runnable).

    Equally, care must be taken not to call back into LibVLC from the event handling thread - if an event handler needs to call back into LibVLC it should use the MediaListPlayer.submit(Runnable) method to submit a task for asynchronous execution.