onSyncServerFinish
Feature Introduction
info
Callback when syncing the session with the server is successful.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
onSyncServerFinish(): void;
Return Result
None
Example Call
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, () => {});
Return Prototype
onSyncServerFinish(): void;
Return Result
None
Example Call
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnSyncServerFinish, () => {});
Prototype
void OnSyncServerFinish();