uniapp文档接口

# API **HtImModule.java** ``` /** * 初始化sdk * * @param options - {"uprtcAppId":"","uprtcAppKey":""} * @param jsCallback - {"code":0,"message":"初始化成功"} */ @UniJSMethod(uiThread = false) public void initHtImSdk(JSONObject options, UniJSCallback jsCallback) /** * 登录 * * @param options - {"serverUrl":"", * "userSdkKey":"", * "loginId":"", * "password":"", * "languageType":"", * "vendorDeviceToken":"", * "cidDeviceToken":"", * "extra":""} * @param jsCallback - {"code":0,"message":"登录成功"} */ @UniJSMethod(uiThread = true) public void htImLogin(JSONObject options, UniJSCallback jsCallback) /** * 添加监听 * * @param jsCallback -{"code":0,"message":"","data":"{\"type\":1,\"unreadNum\":0}"} */ @UniJSMethod(uiThread = true) public void htImAddChatListener(UniJSCallback jsCallback) /** * 移除所有监听 */ @UniJSMethod(uiThread = true) public void htImRemoveChatListener() /** * 添加路由监听 * * @param jsCallback - {"code":0,"message":""} */ @UniJSMethod(uiThread = true) public void htImSetRouteListener(UniJSCallback jsCallback) /** * 初始化数据 * * @param jsCallback - {"code":0,"message":""} */ @UniJSMethod(uiThread = true) public void htImDataInit(UniJSCallback jsCallback) /** * 退出登录 * * @param jsCallback - {"code":0,"message":""} */ @UniJSMethod(uiThread = true) public void htImLogout(UniJSCallback jsCallback) /** * 获取当前登录状态 * * @return - true-登录 false-未登录 */ @UniJSMethod(uiThread = false) public Boolean getLoginStatus() /** * 发起聊天 * * @return - {"code":0,"message":"调用成功"} */ @UniJSMethod(uiThread = false) public JSONObject htImSendChat() /** * 打开视频会议 * * @return - {"code":0,"message":"调用成功"} */ @UniJSMethod(uiThread = false) public JSONObject htImOpenChatMeeting() /** * 打开最近消息 * * @return - {"code":0,"message":"调用成功"} */ @UniJSMethod(uiThread = false) public JSONObject htImOpenChatMessage() /** * 打开通讯录 * * @return - {"code":0,"message":"调用成功"} */ @UniJSMethod(uiThread = false) public JSONObject htImOpenContact() /** * 打开工作台 * * @return - {"code":0,"message":"调用成功"} */ @UniJSMethod(uiThread = false) public JSONObject htImOpenWorkStation() /** * 关闭所有页面 */ @UniJSMethod(uiThread = true) public void htImFinishAllActivity()