public void mediaRemove(SWIGTYPE_p_AudioMedia media) { pjsua2PINVOKE.Endpoint_mediaRemove(swigCPtr, SWIGTYPE_p_AudioMedia.getCPtr(media)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public bool mediaExists(SWIGTYPE_p_AudioMedia media) { bool ret = pjsua2PINVOKE.Endpoint_mediaExists(swigCPtr, SWIGTYPE_p_AudioMedia.getCPtr(media)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_AudioMedia obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }