public void setCaptureOrient(SWIGTYPE_p_pjmedia_vid_dev_index dev_id, SWIGTYPE_p_pjmedia_orient orient) { pjsua2PINVOKE.VidDevManager_setCaptureOrient__SWIG_1(swigCPtr, SWIGTYPE_p_pjmedia_vid_dev_index.getCPtr(dev_id), SWIGTYPE_p_pjmedia_orient.getCPtr(orient)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pjmedia_vid_dev_index obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }