public MediaFormatAudioVector(MediaFormatAudioVector other) : this(pjsua2PINVOKE.new_MediaFormatAudioVector__SWIG_1(MediaFormatAudioVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public MediaFormatAudioVectorEnumerator(MediaFormatAudioVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, MediaFormatAudioVector values)
 {
     pjsua2PINVOKE.MediaFormatAudioVector_SetRange(swigCPtr, index, MediaFormatAudioVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static MediaFormatAudioVector Repeat(MediaFormatAudio value, int count)
    {
        global::System.IntPtr  cPtr = pjsua2PINVOKE.MediaFormatAudioVector_Repeat(MediaFormatAudio.getCPtr(value), count);
        MediaFormatAudioVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatAudioVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public MediaFormatAudioVector GetRange(int index, int count)
    {
        global::System.IntPtr  cPtr = pjsua2PINVOKE.MediaFormatAudioVector_GetRange(swigCPtr, index, count);
        MediaFormatAudioVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatAudioVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaFormatAudioVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }