Exemplo n.º 1
0
 public ToneDescVector(ToneDescVector other) : this(pjsua2PINVOKE.new_ToneDescVector__SWIG_1(ToneDescVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public ToneDescVectorEnumerator(ToneDescVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, ToneDescVector values)
 {
     pjsua2PINVOKE.ToneDescVector_SetRange(swigCPtr, index, ToneDescVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void play(ToneDescVector tones, bool loop)
 {
     pjsua2PINVOKE.ToneGenerator_play__SWIG_0(swigCPtr, ToneDescVector.getCPtr(tones), loop);
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
    public static ToneDescVector Repeat(ToneDesc value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.ToneDescVector_Repeat(ToneDesc.getCPtr(value), count);
        ToneDescVector        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ToneDescVector(cPtr, true);

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

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