public static Gst.PadEventProbeCallback GetManagedDelegate (PadEventProbeCallbackNative native) { if (native == null) return null; PadEventProbeCallbackWrapper wrapper = (PadEventProbeCallbackWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public PadEventProbeCallbackWrapper (Gst.PadEventProbeCallback managed) { this.managed = managed; if (managed != null) NativeDelegate = new PadEventProbeCallbackNative (NativeCallback); }
internal PadEventProbeCallbackInvoker (PadEventProbeCallbackNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal PadEventProbeCallbackInvoker (PadEventProbeCallbackNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal PadEventProbeCallbackInvoker (PadEventProbeCallbackNative native_cb) : this (native_cb, IntPtr.Zero, null) {}