return temp;
});
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
private FinishedCallbackDelegate _videoViewFinishedCallbackDelegate;
private EventHandler<FinishedEventArgs> _videoViewFinishedEventHandler;
internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.VideoView.VideoView_SWIGUpcast(cPtr), cMemoryOwn)
{
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
FinishedSignal().Disconnect(_videoViewFinishedCallbackDelegate);
}
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- Interop.VideoView.delete_VideoView(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
base.Dispose(type);
}
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.VideoView.delete_VideoView(swigCPtr);
+ }
+
// Callback for VideoView Finished signal
private void OnFinished(IntPtr data)
{