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