onSyncServerFinish
功能介绍
信息
向服务器同步会话成功时的回调。
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
返回原型
onSyncServerFinish(): void;
返回结果
无
调用示例
import { getSDK, CbEvents } from '@openim/wasm-client-sdk';
// or
// import { OpenIMSDK, CbEvents } from 'open-im-sdk';
// const IMSDK = new OpenIMSDK();
const IMSDK = getSDK();
IMSDK.on(CbEvents.OnSyncServerFinish, () => {});