public ToneDescVector(ToneDescVector other) : this(pjsua2PINVOKE.new_ToneDescVector__SWIG_1(ToneDescVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public ToneDescVectorEnumerator(ToneDescVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, ToneDescVector values) { pjsua2PINVOKE.ToneDescVector_SetRange(swigCPtr, index, ToneDescVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
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(); } }
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); }
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); }
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); }
public void play(ToneDescVector tones) { pjsua2PINVOKE.ToneGenerator_play__SWIG_1(swigCPtr, ToneDescVector.getCPtr(tones)); if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); }