public MediaFormatVideoVector(MediaFormatVideoVector other) : this(pjsua2PINVOKE.new_MediaFormatVideoVector__SWIG_1(MediaFormatVideoVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public MediaFormatVideoVectorEnumerator(MediaFormatVideoVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, MediaFormatVideoVector values) { pjsua2PINVOKE.MediaFormatVideoVector_SetRange(swigCPtr, index, MediaFormatVideoVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public static MediaFormatVideoVector Repeat(MediaFormatVideo value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.MediaFormatVideoVector_Repeat(MediaFormatVideo.getCPtr(value), count); MediaFormatVideoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVideoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MediaFormatVideoVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.MediaFormatVideoVector_GetRange(swigCPtr, index, count); MediaFormatVideoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVideoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaFormatVideoVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }