public CodecFmtpVector(CodecFmtpVector other) : this(pjsua2PINVOKE.new_CodecFmtpVector__SWIG_1(CodecFmtpVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public CodecFmtpVectorEnumerator(CodecFmtpVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CodecFmtpVector values) { pjsua2PINVOKE.CodecFmtpVector_SetRange(swigCPtr, index, CodecFmtpVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public static CodecFmtpVector Repeat(CodecFmtp value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CodecFmtpVector_Repeat(CodecFmtp.getCPtr(value), count); CodecFmtpVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CodecFmtpVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CodecFmtpVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CodecFmtpVector_GetRange(swigCPtr, index, count); CodecFmtpVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CodecFmtpVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CodecFmtpVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }