Ejemplo n.º 1
0
 public virtual void onMediaEvent(OnMediaEventParam prm)
 {
     if (SwigDerivedClassHasMethod("onMediaEvent", swigMethodTypes6))
     {
         pjsua2PINVOKE.Endpoint_onMediaEventSwigExplicitEndpoint(swigCPtr, OnMediaEventParam.getCPtr(prm));
     }
     else
     {
         pjsua2PINVOKE.Endpoint_onMediaEvent(swigCPtr, OnMediaEventParam.getCPtr(prm));
     }
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OnMediaEventParam obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }