Ejemplo n.º 1
0
 public AudioDevInfoVector2(AudioDevInfoVector2 other) : this(pjsua2PINVOKE.new_AudioDevInfoVector2__SWIG_1(AudioDevInfoVector2.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public AudioDevInfoVector2Enumerator(AudioDevInfoVector2 collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, AudioDevInfoVector2 values)
 {
     pjsua2PINVOKE.AudioDevInfoVector2_SetRange(swigCPtr, index, AudioDevInfoVector2.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public AudioDevInfoVector2 enumDev2()
        {
            AudioDevInfoVector2 ret = new AudioDevInfoVector2(pjsua2PINVOKE.AudDevManager_enumDev2(swigCPtr), true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public static AudioDevInfoVector2 Repeat(AudioDevInfo value, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.AudioDevInfoVector2_Repeat(AudioDevInfo.getCPtr(value), count);
            AudioDevInfoVector2   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioDevInfoVector2(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public AudioDevInfoVector2 GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.AudioDevInfoVector2_GetRange(swigCPtr, index, count);
            AudioDevInfoVector2   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioDevInfoVector2(cPtr, true);

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