Exemplo n.º 1
0
 public AudioMediaVector(AudioMediaVector other) : this(pjsua2PINVOKE.new_AudioMediaVector__SWIG_1(AudioMediaVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public AudioMediaVectorEnumerator(AudioMediaVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, AudioMediaVector values)
 {
     pjsua2PINVOKE.AudioMediaVector_SetRange(swigCPtr, index, AudioMediaVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        public AudioMediaVector mediaEnumPorts()
        {
            AudioMediaVector ret = new AudioMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumPorts(swigCPtr), false);

            if (pjsua2PINVOKE.SWIGPendingException.Pending)
            {
                throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
    public static AudioMediaVector Repeat(AudioMedia value, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector_Repeat(AudioMedia.getCPtr(value), count);
        AudioMediaVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 6
0
    public AudioMediaVector GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = pjsua2PINVOKE.AudioMediaVector_GetRange(swigCPtr, index, count);
        AudioMediaVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AudioMediaVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AudioMediaVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 8
0
 public AudioMediaVector mediaEnumPorts()
 {
     AudioMediaVector ret = new AudioMediaVector(pjsua2PINVOKE.Endpoint_mediaEnumPorts(swigCPtr), false);
     if (pjsua2PINVOKE.SWIGPendingException.Pending) throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }