示例#1
0
 public MediaFormatVideoVector(MediaFormatVideoVector other) : this(pjsua2PINVOKE.new_MediaFormatVideoVector__SWIG_1(MediaFormatVideoVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public MediaFormatVideoVectorEnumerator(MediaFormatVideoVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, MediaFormatVideoVector values)
 {
     pjsua2PINVOKE.MediaFormatVideoVector_SetRange(swigCPtr, index, MediaFormatVideoVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
    public static MediaFormatVideoVector Repeat(MediaFormatVideo value, int count)
    {
        global::System.IntPtr  cPtr = pjsua2PINVOKE.MediaFormatVideoVector_Repeat(MediaFormatVideo.getCPtr(value), count);
        MediaFormatVideoVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MediaFormatVideoVector(cPtr, true);

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

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