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