public static VidConfPortInfo getPortInfoFromId(int port_id) { VidConfPortInfo ret = new VidConfPortInfo(pjsua2PINVOKE.VideoMedia_getPortInfoFromId(port_id), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VidConfPortInfo getPortInfo() { VidConfPortInfo ret = new VidConfPortInfo(pjsua2PINVOKE.VideoMedia_getPortInfo(swigCPtr), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VidConfPortInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }