onBlackDeleted
Feature Introduction
info
You will receive this callback when an entry is removed from a user's blacklist.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(BlacklistInfo info)? onBlacklistDeleted;
Return Results
Name | Type | Description |
---|---|---|
info | BlacklistInfo | Blacklist information |
Return Prototype
- (void)onBlackDeleted:(OIMBlackInfo *)info;
Return Results
Name | Type | Description |
---|---|---|
info | OIMBlackInfo | Blacklist information |
Function Prototype
- void onBlacklistDeleted(BlacklistInfo u);
Return Results
Name | Type | Description |
---|---|---|
info | BlacklistInfo | Friend information |
Return Prototype
onBlackDeleted(data: WSEvent<BlackUserItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<BlackUserItem> | Blacklist information |
Call Example
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.OnBlackDeleted, ({ data }) => {
// data is the blacklist information
});
Return Prototype
onBlackDeleted(data: WSEvent<BlackUserItem>): void;
Return Results
Name | Type | Description |
---|---|---|
data | WSEvent<BlackUserItem> | Blacklist information |
Call Example
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnBlackDeleted, ({ data }) => {
// data is the blacklist information
});