Exemple #1
0
 public void fromPj(SWIGTYPE_p_pjsua_acc_config prm, SWIGTYPE_p_pjsua_media_config mcfg)
 {
     pjsua2PINVOKE.AccountConfig_fromPj(swigCPtr, SWIGTYPE_p_pjsua_acc_config.getCPtr(prm), SWIGTYPE_p_pjsua_media_config.getCPtr(mcfg));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void fromPj(SWIGTYPE_p_pjsua_media_config mc)
 {
     pjsua2PINVOKE.MediaConfig_fromPj(swigCPtr, SWIGTYPE_p_pjsua_media_config.getCPtr(mc));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
    public SWIGTYPE_p_pjsua_media_config toPj()
    {
        SWIGTYPE_p_pjsua_media_config ret = new SWIGTYPE_p_pjsua_media_config(pjsua2PINVOKE.MediaConfig_toPj(swigCPtr), true);

        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pjsua_media_config obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }