コード例 #1
0
ファイル: Call.cs プロジェクト: waffle-iron/nequeo
 public virtual void onCallTransferRequest(OnCallTransferRequestParam prm)
 {
     pjsua2PINVOKE.Call_onCallTransferRequest(swigCPtr, OnCallTransferRequestParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: CallParam.cs プロジェクト: drazenzadravec/nequeo
 /// <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 { }
 }
コード例 #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();
     }
 }
コード例 #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);
 }
コード例 #5
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;
 }
コード例 #6
0
ファイル: Call.cs プロジェクト: Reltik/PJSip-CSharp
 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();
 }