示例#1
0
    public static CallMediaInfoVector Repeat(CallMediaInfo value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.CallMediaInfoVector_Repeat(CallMediaInfo.getCPtr(value), count);
        CallMediaInfoVector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CallMediaInfoVector(cPtr, true);

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

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#3
0
 public CallMediaInfoVector(CallMediaInfoVector other) : this(pjsua2PINVOKE.new_CallMediaInfoVector__SWIG_1(CallMediaInfoVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CallMediaInfoVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }