public virtual void onRegStarted(OnRegStartedParam prm) { pjsua2PINVOKE.Account_onRegStarted(swigCPtr, OnRegStartedParam.getCPtr(prm)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Notify application when registration or unregistration has been initiated. /// </summary> /// <param name="sender">The current sender.</param> /// <param name="e">The event parameter.</param> private void _voipManager_OnRegStarted(object sender, OnRegStartedParam e) { // Send a notification to the call. Param.OnRegStartedParam param = new Param.OnRegStartedParam(); param.Renew = e.Renew; // Call the event handler. OnRegStarted?.Invoke(this, param); }
public virtual void onRegStarted(OnRegStartedParam prm) { if (SwigDerivedClassHasMethod("onRegStarted", swigMethodTypes1)) { pjsua2PINVOKE.Account_onRegStartedSwigExplicitAccount(swigCPtr, OnRegStartedParam.getCPtr(prm)); } else { pjsua2PINVOKE.Account_onRegStarted(swigCPtr, OnRegStartedParam.getCPtr(prm)); } if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OnRegStartedParam 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(OnRegStartedParam obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
/// <summary> /// Notify application when registration or unregistration has been initiated. /// </summary> /// <param name="sender">The current sender.</param> /// <param name="e">The event parameter.</param> private void _account_OnRegStarted(object sender, OnRegStartedParam e) { OnRegStarted?.Invoke(this, e); }
public virtual void onRegStarted(OnRegStartedParam prm) { if (SwigDerivedClassHasMethod("onRegStarted", swigMethodTypes1)) pjsua2PINVOKE.Account_onRegStartedSwigExplicitAccount(swigCPtr, OnRegStartedParam.getCPtr(prm)); else pjsua2PINVOKE.Account_onRegStarted(swigCPtr, OnRegStartedParam.getCPtr(prm)); if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); }