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 ); }
public static Boolean Attach(IVLCSubscribable Object, VLCEventBinding Event) { return(Attach(Object, Event.Type, Event.EventDelegate, Event.UserData)); }
public static void Detach(IVLCSubscribable Object, VLCEventBinding Event) { Detach(Object, Event.Type, Event.EventDelegate, Event.UserData); Event.NotifyDetached(); }