public VideoDevInfoVector2(VideoDevInfoVector2 other) : this(pjsua2PINVOKE.new_VideoDevInfoVector2__SWIG_1(VideoDevInfoVector2.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public VideoDevInfoVector2Enumerator(VideoDevInfoVector2 collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, VideoDevInfoVector2 values)
 {
     pjsua2PINVOKE.VideoDevInfoVector2_SetRange(swigCPtr, index, VideoDevInfoVector2.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public VideoDevInfoVector2 enumDev2()
        {
            VideoDevInfoVector2 ret = new VideoDevInfoVector2(pjsua2PINVOKE.VidDevManager_enumDev2(swigCPtr), true);

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

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

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