public void setFormat(int dev_id, MediaFormatVideo format, bool keep) { pjsua2PINVOKE.VidDevManager_setFormat(swigCPtr, dev_id, MediaFormatVideo.getCPtr(format), keep); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public MediaFormatVideo getFormat(int dev_id) { MediaFormatVideo ret = new MediaFormatVideo(pjsua2PINVOKE.VidDevManager_getFormat(swigCPtr, dev_id), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaFormatVideo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MediaFormatVideo obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }