public MediaFormatVector(MediaFormatVector other) : this(pjsua2PINVOKE.new_MediaFormatVector__SWIG_1(MediaFormatVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public MediaFormatVectorEnumerator(MediaFormatVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, MediaFormatVector values) { pjsua2PINVOKE.MediaFormatVector_SetRange(swigCPtr, index, MediaFormatVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public static MediaFormatVector Repeat(MediaFormat value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.MediaFormatVector_Repeat(MediaFormat.getCPtr(value), count); MediaFormatVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MediaFormatVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.MediaFormatVector_GetRange(swigCPtr, index, count); MediaFormatVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaFormatVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }