コード例 #1
0
 public VideoMediaVector(VideoMediaVector other) : this(pjsua2PINVOKE.new_VideoMediaVector__SWIG_1(VideoMediaVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public VideoMediaVectorEnumerator(VideoMediaVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, VideoMediaVector values)
 {
     pjsua2PINVOKE.VideoMediaVector_SetRange(swigCPtr, index, VideoMediaVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
ファイル: Endpoint.cs プロジェクト: sbeat313/PjSipForCSharp
        public VideoMediaVector mediaEnumVidPorts()
        {
            VideoMediaVector ret = new VideoMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumVidPorts(swigCPtr), true);

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

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

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoMediaVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }