public VideoDevInfoVector(VideoDevInfoVector other) : this(pjsua2PINVOKE.new_VideoDevInfoVector__SWIG_1(VideoDevInfoVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public VideoDevInfoVectorEnumerator(VideoDevInfoVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, VideoDevInfoVector values)
 {
     pjsua2PINVOKE.VideoDevInfoVector_SetRange(swigCPtr, index, VideoDevInfoVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public VideoDevInfoVector enumDev()
        {
            VideoDevInfoVector ret = new VideoDevInfoVector(pjsua2PINVOKE.VidDevManager_enumDev(swigCPtr), false);

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

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

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