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 { getSDK, CbEvents } from '@openim/client-sdk';
// const IMSDK = getSDK();
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();