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