Package uk.co.caprica.vlcj.media.events
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
All Methods Static Methods Concrete Methods 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.
-
-
-
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 instancemedia
- component the event relates toevent
- native event- Returns:
- media event, or
null
if the native event type is not known
-
-