Example #1
0
 public virtual void onCallTransferRequest(OnCallTransferRequestParam prm)
 {
     pjsua2PINVOKE.Call_onCallTransferRequest(swigCPtr, OnCallTransferRequestParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 /// <summary>
 /// Transfer call request.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void _call_OnCallTransferRequest(object sender, OnCallTransferRequestParam e)
 {
     try
     {
         // Handle the event.
         OnCallTransferRequest?.Invoke(this, e);
     }
     catch { }
 }
Example #3
0
 public virtual void onCallTransferRequest(OnCallTransferRequestParam prm)
 {
     if (SwigDerivedClassHasMethod("onCallTransferRequest", swigMethodTypes7))
     {
         pjsua2PINVOKE.Call_onCallTransferRequestSwigExplicitCall(swigCPtr, OnCallTransferRequestParam.getCPtr(prm));
     }
     else
     {
         pjsua2PINVOKE.Call_onCallTransferRequest(swigCPtr, OnCallTransferRequestParam.getCPtr(prm));
     }
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OnCallTransferRequestParam obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OnCallTransferRequestParam obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #6
0
 public virtual void onCallTransferRequest(OnCallTransferRequestParam prm)
 {
     if (SwigDerivedClassHasMethod("onCallTransferRequest", swigMethodTypes7)) pjsua2PINVOKE.Call_onCallTransferRequestSwigExplicitCall(swigCPtr, OnCallTransferRequestParam.getCPtr(prm)); else pjsua2PINVOKE.Call_onCallTransferRequest(swigCPtr, OnCallTransferRequestParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
 }