public void setOnlineStatus(SWIGTYPE_p_PresenceStatus pres_st) { pjsua2PINVOKE.Account_setOnlineStatus(swigCPtr, SWIGTYPE_p_PresenceStatus.getCPtr(pres_st)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_PresenceStatus obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }