Inheritance: global::System.IDisposable
コード例 #1
0
ファイル: Account.cs プロジェクト: waffle-iron/nequeo
 public virtual void onRegStarted(OnRegStartedParam prm)
 {
     pjsua2PINVOKE.Account_onRegStarted(swigCPtr, OnRegStartedParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 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;
 }
コード例 #6
0
ファイル: VoIPManager.cs プロジェクト: waffle-iron/nequeo
 /// <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);
 }
コード例 #7
0
ファイル: Account.cs プロジェクト: Reltik/PJSip-CSharp
 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();
 }