Exemple #1
0
 public ToneDigitMapVectorEnumerator(ToneDigitMapVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #2
0
 public ToneDigitMapVector(ToneDigitMapVector other) : this(pjsua2PINVOKE.new_ToneDigitMapVector__SWIG_1(ToneDigitMapVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void SetRange(int index, ToneDigitMapVector values)
 {
     pjsua2PINVOKE.ToneDigitMapVector_SetRange(swigCPtr, index, ToneDigitMapVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setDigitMap(ToneDigitMapVector digit_map)
 {
     pjsua2PINVOKE.ToneGenerator_setDigitMap(swigCPtr, ToneDigitMapVector.getCPtr(digit_map));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public ToneDigitMapVector getDigitMap()
    {
        ToneDigitMapVector ret = new ToneDigitMapVector(pjsua2PINVOKE.ToneGenerator_getDigitMap(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #6
0
        public static ToneDigitMapVector Repeat(ToneDigitMapDigit value, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.ToneDigitMapVector_Repeat(ToneDigitMapDigit.getCPtr(value), count);
            ToneDigitMapVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ToneDigitMapVector(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
        public ToneDigitMapVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = pjsua2PINVOKE.ToneDigitMapVector_GetRange(swigCPtr, index, count);
            ToneDigitMapVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ToneDigitMapVector(cPtr, true);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ToneDigitMapVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #9
0
 public ToneDigitMapVector getDigitMap()
 {
     ToneDigitMapVector ret = new ToneDigitMapVector(pjsua2PINVOKE.ToneGenerator_getDigitMap(swigCPtr), true);
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #10
0
 public void setDigitMap(ToneDigitMapVector digit_map)
 {
     pjsua2PINVOKE.ToneGenerator_setDigitMap(swigCPtr, ToneDigitMapVector.getCPtr(digit_map));
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
 }