public virtual void onCallTransferRequest(OnCallTransferRequestParam prm) { pjsua2PINVOKE.Call_onCallTransferRequest(swigCPtr, OnCallTransferRequestParam.getCPtr(prm)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
/// <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 { } }
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(); } }
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; }
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(); }