コード例 #1
0
 public AudioDevInfoVector(AudioDevInfoVector other) : this(pjsua2PINVOKE.new_AudioDevInfoVector__SWIG_1(AudioDevInfoVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public AudioDevInfoVectorEnumerator(AudioDevInfoVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, AudioDevInfoVector values)
 {
     pjsua2PINVOKE.AudioDevInfoVector_SetRange(swigCPtr, index, AudioDevInfoVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
    public AudioDevInfoVector enumDev()
    {
        AudioDevInfoVector ret = new AudioDevInfoVector(pjsua2PINVOKE.AudDevManager_enumDev(swigCPtr), false);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
    public static AudioDevInfoVector Repeat(AudioDevInfo value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.AudioDevInfoVector_Repeat(AudioDevInfo.getCPtr(value), count);
        AudioDevInfoVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioDevInfoVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
    public AudioDevInfoVector GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.AudioDevInfoVector_GetRange(swigCPtr, index, count);
        AudioDevInfoVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioDevInfoVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AudioDevInfoVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #8
0
ファイル: AudDevManager.cs プロジェクト: Jetsly/pjsip-csharp
 public AudioDevInfoVector enumDev()
 {
     AudioDevInfoVector ret = new AudioDevInfoVector(pjsua2PINVOKE.AudDevManager_enumDev(swigCPtr), false);
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }