public void fromPj(SWIGTYPE_p_pjmedia_format format) { pjsua2PINVOKE.MediaFormatVideo_fromPj(swigCPtr, SWIGTYPE_p_pjmedia_format.getCPtr(format)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pjmedia_format obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public SWIGTYPE_p_pjmedia_format toPj() { SWIGTYPE_p_pjmedia_format ret = new SWIGTYPE_p_pjmedia_format(pjsua2PINVOKE.MediaFormatVideo_toPj(swigCPtr), true); return(ret); }