public ToneDigitVector(ToneDigitVector other) : this(pjsua2PINVOKE.new_ToneDigitVector__SWIG_1(ToneDigitVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public ToneDigitVectorEnumerator(ToneDigitVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void playDigits(ToneDigitVector digits) { pjsua2PINVOKE.ToneGenerator_playDigits__SWIG_1(swigCPtr, ToneDigitVector.getCPtr(digits)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, ToneDigitVector values) { pjsua2PINVOKE.ToneDigitVector_SetRange(swigCPtr, index, ToneDigitVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public static ToneDigitVector Repeat(ToneDigit value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.ToneDigitVector_Repeat(ToneDigit.getCPtr(value), count); ToneDigitVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new ToneDigitVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ToneDigitVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.ToneDigitVector_GetRange(swigCPtr, index, count); ToneDigitVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new ToneDigitVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ToneDigitVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public void playDigits(ToneDigitVector digits, bool loop) { pjsua2PINVOKE.ToneGenerator_playDigits__SWIG_0(swigCPtr, ToneDigitVector.getCPtr(digits), loop); if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); }