public BuddyVector(BuddyVector other) : this(pjsua2PINVOKE.new_BuddyVector__SWIG_1(BuddyVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public BuddyVectorEnumerator(BuddyVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, BuddyVector values) { pjsua2PINVOKE.BuddyVector_SetRange(swigCPtr, index, BuddyVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public BuddyVector enumBuddies() { BuddyVector ret = new BuddyVector(pjsua2PINVOKE.Account_enumBuddies(swigCPtr), false); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static BuddyVector Repeat(Buddy value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector_Repeat(Buddy.getCPtr(value), count); BuddyVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BuddyVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector_GetRange(swigCPtr, index, count); BuddyVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BuddyVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public BuddyVector enumBuddies() { BuddyVector ret = new BuddyVector(pjsua2PINVOKE.Account_enumBuddies(swigCPtr), false); if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); return ret; }