Class MediaEventFactory


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

      • 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