public AudioMediaVector(AudioMediaVector other) : this(pjsua2PINVOKE.new_AudioMediaVector__SWIG_1(AudioMediaVector.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public AudioMediaVectorEnumerator(AudioMediaVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, AudioMediaVector values) { pjsua2PINVOKE.AudioMediaVector_SetRange(swigCPtr, index, AudioMediaVector.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public AudioMediaVector mediaEnumPorts() { AudioMediaVector ret = new AudioMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumPorts(swigCPtr), false); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static AudioMediaVector Repeat(AudioMedia value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector_Repeat(AudioMedia.getCPtr(value), count); AudioMediaVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public AudioMediaVector GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector_GetRange(swigCPtr, index, count); AudioMediaVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AudioMediaVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public AudioMediaVector mediaEnumPorts() { AudioMediaVector ret = new AudioMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumPorts(swigCPtr), false); if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); return ret; }