onGroupMemberInfoChanged
Feature Introduction
info
This callback is triggered after a group member's information (e.g., group nickname, avatar, etc.) has changed. All members of the group will receive this callback.
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- Unity
Return Prototype
Function(GroupMembersInfo info)? onGroupMemberInfoChanged;
Return Result
Name | Type | Description |
---|---|---|
info | GroupMembersInfo | Group member information |
Return Prototype
- (void)onGroupMemberInfoChanged:(OIMGroupMemberInfo *)memberInfo;
Return Result
Name | Type | Description |
---|---|---|
memberInfo | OIMGroupMemberInfo | Group member information |
Return Prototype
void onGroupMemberInfoChanged(GroupMembersInfo info);
Return Result
Name | Type | Description |
---|---|---|
info | GroupMembersInfo | Friend information |
Return Prototype
onGroupMemberInfoChanged(data: WSEvent<GroupMemberItem>): void;
Return Result
Name | Type | Description |
---|---|---|
data | WSEvent<GroupMemberItem> | Group member information |
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.OnGroupMemberInfoChanged, ({ data }) => {
// data: Group member information
});
Return Prototype
onGroupMemberInfoChanged(data: WSEvent<GroupMemberItem>): void;
Return Result
Name | Type | Description |
---|---|---|
data | WSEvent<GroupMemberItem> | Group member information |
Example Call
import IMSDK from 'openim-uniapp-polyfill';
IMSDK.subscribe(IMSDK.IMEvents.OnGroupMemberInfoChanged, ({ data }) => {
// data: Group member information
});
Prototype
void OnGroupMemberInfoChanged(GroupMember info);
Parameter
Parameter Name | Type | Description |
---|---|---|
info | GroupMember | Group Member Info |