We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b516224 + 63a1ee6 commit a20dfc9Copy full SHA for a20dfc9
docs/document/harmonyos/connection.md
@@ -17,7 +17,7 @@ let connectionListener: ConnectionListener = {
17
// 长连接断开
18
},
19
onLogout: (errorCode: number, info: LoginExtInfo): void => {
20
- // 触发退出,需要主动调用 ChatClient#logout 方法
+ // 该监听触发后,需要主动调用 ChatClient#logout 方法
21
22
onTokenExpired: (): void => {
23
// 使用 token 登录时,token 过期触发。
@@ -53,4 +53,4 @@ ChatClient.getInstance().removeConnectionListener(connectionListener);
53
- 用户在另一设备登录,将当前设备上登录的用户踢出,提示错误码 206。
54
- 用户登录设备数量超过限制,提示错误码 214。
55
- 应用程序的日活跃用户数量(DAU)或月活跃用户数量(MAU)达到上限,提示错误码 8。
56
-- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。
+- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。
0 commit comments