Beispiel #1
0
 public CodecFmtpVector(CodecFmtpVector other) : this(pjsua2PINVOKE.new_CodecFmtpVector__SWIG_1(CodecFmtpVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public CodecFmtpVectorEnumerator(CodecFmtpVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, CodecFmtpVector values)
 {
     pjsua2PINVOKE.CodecFmtpVector_SetRange(swigCPtr, index, CodecFmtpVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
    public static CodecFmtpVector Repeat(CodecFmtp value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.CodecFmtpVector_Repeat(CodecFmtp.getCPtr(value), count);
        CodecFmtpVector       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CodecFmtpVector(cPtr, true);

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

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