Skip to content

Commit

Permalink
Merge pull request #387 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify Flutter Code
  • Loading branch information
haoxiuwen authored Aug 15, 2023
2 parents 095305e + 3fb5ee7 commit 839bfb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/document/flutter/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ EMClient.getInstance.addConnectionEventHandler(
// 调用 `kickDevice` 方法将设备踢下线,被踢设备会收到该回调;
onUserKickedByOtherDevice: () => {},
// 登录新设备时因达到了登录设备数量限制而导致当前设备被踢下线,被踢设备收到该回调;
onUserDidLoginFromOtherDevice(String deviceName) => {},
onUserDidLoginFromOtherDevice: (String deviceName) => {},
// Token 过期;
onTokenDidExpire: () => {},
// Token 即将过期,需要调用 renewToken;
Expand Down
2 changes: 1 addition & 1 deletion docs/document/flutter/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void _addChatListener() {
// 添加收消息监听
EMClient.getInstance.chatManager.addEventHandle(
EMClient.getInstance.chatManager.addEventHandler(
// EMChatEventHandler 对应的 key。
"UNIQUE_HANDLER_ID",
EMChatEventHandler(
Expand Down

0 comments on commit 839bfb1

Please sign in to comment.