Class MediaEventFactory

java.lang.Object
uk.co.caprica.vlcj.media.events.MediaEventFactory

public final class MediaEventFactory extends Object
A factory that creates a media list event instance for a native media event.
  • Method Summary

    Modifier and Type
    Method
    Description
    static uk.co.caprica.vlcj.media.events.MediaEvent
    createEvent(uk.co.caprica.vlcj.binding.internal.libvlc_instance_t libvlcInstance, Media media, uk.co.caprica.vlcj.binding.internal.libvlc_event_t event)
    Create an event.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createEvent

      public static uk.co.caprica.vlcj.media.events.MediaEvent createEvent(uk.co.caprica.vlcj.binding.internal.libvlc_instance_t libvlcInstance, Media media, uk.co.caprica.vlcj.binding.internal.libvlc_event_t event)
      Create an event.
      Parameters:
      libvlcInstance - native library instance
      media - component the event relates to
      event - native event
      Returns:
      media event, or null if the native event type is not known