Exemple #1
0
 public MediaFormatVector(MediaFormatVector other) : this(pjsua2PINVOKE.new_MediaFormatVector__SWIG_1(MediaFormatVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public MediaFormatVectorEnumerator(MediaFormatVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, MediaFormatVector values)
 {
     pjsua2PINVOKE.MediaFormatVector_SetRange(swigCPtr, index, MediaFormatVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
    public static MediaFormatVector Repeat(MediaFormat value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.MediaFormatVector_Repeat(MediaFormat.getCPtr(value), count);
        MediaFormatVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVector(cPtr, true);

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

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