Ejemplo n.º 1
0
 public Error(SWIGTYPE_p_pj_status_t prm_status, SWIGTYPE_p_string prm_title, SWIGTYPE_p_string prm_reason, SWIGTYPE_p_string prm_src_file, int prm_src_line) : this(pjsua2PINVOKE.new_Error__SWIG_1(SWIGTYPE_p_pj_status_t.getCPtr(prm_status), SWIGTYPE_p_string.getCPtr(prm_title), SWIGTYPE_p_string.getCPtr(prm_reason), SWIGTYPE_p_string.getCPtr(prm_src_file), prm_src_line), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public AuthCredInfo(SWIGTYPE_p_string scheme, SWIGTYPE_p_string realm, SWIGTYPE_p_string user_name, int data_type, SWIGTYPE_p_string data) : this(pjsua2PINVOKE.new_AuthCredInfo__SWIG_1(SWIGTYPE_p_string.getCPtr(scheme), SWIGTYPE_p_string.getCPtr(realm), SWIGTYPE_p_string.getCPtr(user_name), data_type, SWIGTYPE_p_string.getCPtr(data)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public virtual void loadString(SWIGTYPE_p_string input)
 {
     pjsua2PINVOKE.PersistentDocument_loadString(swigCPtr, SWIGTYPE_p_string.getCPtr(input));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void writeStringVector(SWIGTYPE_p_string name, SWIGTYPE_p_StringVector arr)
 {
     pjsua2PINVOKE.PersistentDocument_writeStringVector(swigCPtr, SWIGTYPE_p_string.getCPtr(name), SWIGTYPE_p_StringVector.getCPtr(arr));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void writeNumber(SWIGTYPE_p_string name, float num)
 {
     pjsua2PINVOKE.ContainerNode_writeNumber(swigCPtr, SWIGTYPE_p_string.getCPtr(name), num);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public virtual void saveFile(SWIGTYPE_p_string filename)
 {
     pjsua2PINVOKE.PersistentDocument_saveFile(swigCPtr, SWIGTYPE_p_string.getCPtr(filename));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public void createRecorder(SWIGTYPE_p_string file_name, uint enc_type)
 {
     pjsua2PINVOKE.AudioMediaRecorder_createRecorder__SWIG_2(swigCPtr, SWIGTYPE_p_string.getCPtr(file_name), enc_type);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
 public void createRecorder(SWIGTYPE_p_string file_name, uint enc_type, SWIGTYPE_p_pj_ssize_t max_size, uint options)
 {
     pjsua2PINVOKE.AudioMediaRecorder_createRecorder__SWIG_0(swigCPtr, SWIGTYPE_p_string.getCPtr(file_name), enc_type, SWIGTYPE_p_pj_ssize_t.getCPtr(max_size), options);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 9
0
 public void dialDtmf(SWIGTYPE_p_string digits)
 {
     pjsua2PINVOKE.Call_dialDtmf(swigCPtr, SWIGTYPE_p_string.getCPtr(digits));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 10
0
 public void xfer(SWIGTYPE_p_string dest, CallOpParam prm)
 {
     pjsua2PINVOKE.Call_xfer(swigCPtr, SWIGTYPE_p_string.getCPtr(dest), CallOpParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 11
0
 public void makeCall(SWIGTYPE_p_string dst_uri, CallOpParam prm)
 {
     pjsua2PINVOKE.Call_makeCall(swigCPtr, SWIGTYPE_p_string.getCPtr(dst_uri), CallOpParam.getCPtr(prm));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 12
0
 public void videoCodecSetParam(SWIGTYPE_p_string codec_id, SWIGTYPE_p_void param)
 {
     pjsua2PINVOKE.Endpoint_videoCodecSetParam(swigCPtr, SWIGTYPE_p_string.getCPtr(codec_id), SWIGTYPE_p_void.getCPtr(param));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 13
0
 public void videoCodecSetPriority(SWIGTYPE_p_string codec_id, SWIGTYPE_p_pj_uint8_t priority)
 {
     pjsua2PINVOKE.Endpoint_videoCodecSetPriority(swigCPtr, SWIGTYPE_p_string.getCPtr(codec_id), SWIGTYPE_p_pj_uint8_t.getCPtr(priority));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 14
0
 public void utilLogWrite(int prmLevel, SWIGTYPE_p_string prmSender, SWIGTYPE_p_string prmMsg)
 {
     pjsua2PINVOKE.Endpoint_utilLogWrite__SWIG_0(swigCPtr, prmLevel, SWIGTYPE_p_string.getCPtr(prmSender), SWIGTYPE_p_string.getCPtr(prmMsg));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 15
0
 public void writeString(SWIGTYPE_p_string name, SWIGTYPE_p_string value)
 {
     pjsua2PINVOKE.ContainerNode_writeString(swigCPtr, SWIGTYPE_p_string.getCPtr(name), SWIGTYPE_p_string.getCPtr(value));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 16
0
 public void writeBool(SWIGTYPE_p_string name, bool value)
 {
     pjsua2PINVOKE.PersistentDocument_writeBool(swigCPtr, SWIGTYPE_p_string.getCPtr(name), value);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 17
0
 public void writeInt(SWIGTYPE_p_string name, int num)
 {
     pjsua2PINVOKE.PersistentDocument_writeInt(swigCPtr, SWIGTYPE_p_string.getCPtr(name), num);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 18
0
 public void libRegisterThread(SWIGTYPE_p_string name)
 {
     pjsua2PINVOKE.Endpoint_libRegisterThread(swigCPtr, SWIGTYPE_p_string.getCPtr(name));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 19
0
 public void createPlaylist(SWIGTYPE_p_StringVector file_names, SWIGTYPE_p_string label)
 {
     pjsua2PINVOKE.AudioMediaPlayer_createPlaylist__SWIG_1(swigCPtr, SWIGTYPE_p_StringVector.getCPtr(file_names), SWIGTYPE_p_string.getCPtr(label));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 20
0
 public void createPlayer(SWIGTYPE_p_string file_name)
 {
     pjsua2PINVOKE.AudioMediaPlayer_createPlayer__SWIG_1(swigCPtr, SWIGTYPE_p_string.getCPtr(file_name));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 21
0
    public SWIGTYPE_p_StringVector readStringVector(SWIGTYPE_p_string name)
    {
        SWIGTYPE_p_StringVector ret = new SWIGTYPE_p_StringVector(pjsua2PINVOKE.PersistentDocument_readStringVector__SWIG_0(swigCPtr, SWIGTYPE_p_string.getCPtr(name)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 22
0
    public bool readBool(SWIGTYPE_p_string name)
    {
        bool ret = pjsua2PINVOKE.PersistentDocument_readBool__SWIG_0(swigCPtr, SWIGTYPE_p_string.getCPtr(name));

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 23
0
    public SWIGTYPE_p_string capName(SWIGTYPE_p_pjmedia_vid_dev_cap cap)
    {
        SWIGTYPE_p_string ret = new SWIGTYPE_p_string(pjsua2PINVOKE.VidDevManager_capName(swigCPtr, SWIGTYPE_p_pjmedia_vid_dev_cap.getCPtr(cap)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 24
0
    public int lookupDev(SWIGTYPE_p_string drv_name, SWIGTYPE_p_string dev_name)
    {
        int ret = pjsua2PINVOKE.VidDevManager_lookupDev(swigCPtr, SWIGTYPE_p_string.getCPtr(drv_name), SWIGTYPE_p_string.getCPtr(dev_name));

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 25
0
    public float readNumber(SWIGTYPE_p_string name)
    {
        float ret = pjsua2PINVOKE.ContainerNode_readNumber__SWIG_0(swigCPtr, SWIGTYPE_p_string.getCPtr(name));

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 26
0
    public ContainerNode writeNewArray(SWIGTYPE_p_string name)
    {
        ContainerNode ret = new ContainerNode(pjsua2PINVOKE.PersistentDocument_writeNewArray(swigCPtr, SWIGTYPE_p_string.getCPtr(name)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 27
0
    public SWIGTYPE_p_string unreadName()
    {
        SWIGTYPE_p_string ret = new SWIGTYPE_p_string(pjsua2PINVOKE.ContainerNode_unreadName(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 28
0
    public SWIGTYPE_p_string unreadName()
    {
        SWIGTYPE_p_string ret = new SWIGTYPE_p_string(pjsua2PINVOKE.PersistentDocument_unreadName(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 29
0
    public virtual SWIGTYPE_p_string saveString()
    {
        SWIGTYPE_p_string ret = new SWIGTYPE_p_string(pjsua2PINVOKE.PersistentDocument_saveString(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 30
0
    public virtual bool match(SWIGTYPE_p_string token, SWIGTYPE_p_Buddy buddy)
    {
        bool ret = pjsua2PINVOKE.FindBuddyMatch_match(swigCPtr, SWIGTYPE_p_string.getCPtr(token), SWIGTYPE_p_Buddy.getCPtr(buddy));

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 31
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_string obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }