public SrtpCryptoVector(SrtpCryptoVector other) : this(pjsua2PINVOKE.new_SrtpCryptoVector__SWIG_1(SrtpCryptoVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public SrtpCryptoVectorEnumerator(SrtpCryptoVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, SrtpCryptoVector values) { pjsua2PINVOKE.SrtpCryptoVector_SetRange(swigCPtr, index, SrtpCryptoVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public static SrtpCryptoVector Repeat(SrtpCrypto value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.SrtpCryptoVector_Repeat(SrtpCrypto.getCPtr(value), count); SrtpCryptoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SrtpCryptoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SrtpCryptoVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.SrtpCryptoVector_GetRange(swigCPtr, index, count); SrtpCryptoVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SrtpCryptoVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SrtpCryptoVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }