From 63a1ee649130c218b6d4f41b72ddbcd1817bb043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?NeoHuang=28=E9=BB=84=E9=A3=9E=E9=B9=8F=29?= <51753961+HuangFeiPeng@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:47:09 +0800 Subject: [PATCH] Update connection.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改鸿蒙onLogout注释说明。 --- docs/document/harmonyos/connection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/document/harmonyos/connection.md b/docs/document/harmonyos/connection.md index c170f1791..350a1b99e 100644 --- a/docs/document/harmonyos/connection.md +++ b/docs/document/harmonyos/connection.md @@ -17,7 +17,7 @@ let connectionListener: ConnectionListener = { // 长连接断开 }, onLogout: (errorCode: number, info: LoginExtInfo): void => { - // 触发退出,需要主动调用 ChatClient#logout 方法 + // 该监听触发后,需要主动调用 ChatClient#logout 方法 }, onTokenExpired: (): void => { // 使用 token 登录时,token 过期触发。 @@ -53,4 +53,4 @@ ChatClient.getInstance().removeConnectionListener(connectionListener); - 用户在另一设备登录,将当前设备上登录的用户踢出,提示错误码 206。 - 用户登录设备数量超过限制,提示错误码 214。 - 应用程序的日活跃用户数量(DAU)或月活跃用户数量(MAU)达到上限,提示错误码 8。 -- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。 \ No newline at end of file +- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。