Exemplo n.º 1
0
 public BuddyVector2(BuddyVector2 other) : this(pjsua2PINVOKE.new_BuddyVector2__SWIG_1(BuddyVector2.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public BuddyVector2Enumerator(BuddyVector2 collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, BuddyVector2 values)
 {
     pjsua2PINVOKE.BuddyVector2_SetRange(swigCPtr, index, BuddyVector2.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
    public BuddyVector2 enumBuddies2()
    {
        BuddyVector2 ret = new BuddyVector2(pjsua2PINVOKE.Account_enumBuddies2(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
        public static BuddyVector2 Repeat(Buddy value, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector2_Repeat(Buddy.getCPtr(value), count);
            BuddyVector2          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector2(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public BuddyVector2 GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector2_GetRange(swigCPtr, index, count);
            BuddyVector2          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector2(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BuddyVector2 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }