Exemple #1
0
            public static void Detach(IVLCSubscribable Object, VLCEventType Event, libvlc_callback_t Callback, IntPtr?UserData = null)
            {
                IntPtr UsrData = (UserData.HasValue) ? (IntPtr)UserData : IntPtr.Zero;

                NativeMethods.libvlc_event_detach(
                    Object.EventManager,
                    (libvlc_event_e)Event,
                    Callback,
                    UsrData
                    );
            }
Exemple #2
0
 public static Boolean Attach(IVLCSubscribable Object, VLCEventBinding Event)
 {
     return(Attach(Object, Event.Type, Event.EventDelegate, Event.UserData));
 }
Exemple #3
0
 public static void Detach(IVLCSubscribable Object, VLCEventBinding Event)
 {
     Detach(Object, Event.Type, Event.EventDelegate, Event.UserData);
     Event.NotifyDetached();
 }