public void processRedirect(SWIGTYPE_p_pjsip_redirect_op cmd) { pjsua2PINVOKE.Call_processRedirect(swigCPtr, SWIGTYPE_p_pjsip_redirect_op.getCPtr(cmd)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public virtual SWIGTYPE_p_pjsip_redirect_op onCallRedirected(OnCallRedirectedParam prm) { SWIGTYPE_p_pjsip_redirect_op ret = new SWIGTYPE_p_pjsip_redirect_op(pjsua2PINVOKE.Call_onCallRedirected(swigCPtr, OnCallRedirectedParam.getCPtr(prm)), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pjsip_redirect_op obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }