public CodecInfoVector2(CodecInfoVector2 other) : this(pjsua2PINVOKE.new_CodecInfoVector2__SWIG_1(CodecInfoVector2.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public CodecInfoVector2Enumerator(CodecInfoVector2 collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CodecInfoVector2 values) { pjsua2PINVOKE.CodecInfoVector2_SetRange(swigCPtr, index, CodecInfoVector2.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public CodecInfoVector2 videoCodecEnum2() { CodecInfoVector2 ret = new CodecInfoVector2(pjsua2PINVOKE.Endpoint_videoCodecEnum2(swigCPtr), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CodecInfoVector2 Repeat(CodecInfo value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CodecInfoVector2_Repeat(CodecInfo.getCPtr(value), count); CodecInfoVector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new CodecInfoVector2(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CodecInfoVector2 GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.CodecInfoVector2_GetRange(swigCPtr, index, count); CodecInfoVector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new CodecInfoVector2(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CodecInfoVector2 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }