public static CallMediaInfoVector Repeat(CallMediaInfo value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CallMediaInfoVector_Repeat(CallMediaInfo.getCPtr(value), count); CallMediaInfoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CallMediaInfoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CallMediaInfoVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CallMediaInfoVector_GetRange(swigCPtr, index, count); CallMediaInfoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CallMediaInfoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CallMediaInfoVector(CallMediaInfoVector other) : this(pjsua2PINVOKE.new_CallMediaInfoVector__SWIG_1(CallMediaInfoVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CallMediaInfoVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }