public AudioMediaVector2(AudioMediaVector2 other) : this(pjsua2PINVOKE.new_AudioMediaVector2__SWIG_1(AudioMediaVector2.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public AudioMediaVector2Enumerator(AudioMediaVector2 collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, AudioMediaVector2 values)
 {
     pjsua2PINVOKE.AudioMediaVector2_SetRange(swigCPtr, index, AudioMediaVector2.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public AudioMediaVector2 mediaEnumPorts2()
        {
            AudioMediaVector2 ret = new AudioMediaVector2(pjsua2PINVOKE.Endpoint_mediaEnumPorts2(swigCPtr), true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static AudioMediaVector2 Repeat(AudioMedia value, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector2_Repeat(AudioMedia.getCPtr(value), count);
            AudioMediaVector2     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector2(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public AudioMediaVector2 GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector2_GetRange(swigCPtr, index, count);
            AudioMediaVector2     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector2(cPtr, true);

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