public VideoMediaVector(VideoMediaVector other) : this(pjsua2PINVOKE.new_VideoMediaVector__SWIG_1(VideoMediaVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public VideoMediaVectorEnumerator(VideoMediaVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VideoMediaVector values) { pjsua2PINVOKE.VideoMediaVector_SetRange(swigCPtr, index, VideoMediaVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public VideoMediaVector mediaEnumVidPorts() { VideoMediaVector ret = new VideoMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumVidPorts(swigCPtr), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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); }
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); }