OnMemberInfoChangedCallback
Introduction
The callback of the info of group members modify event, trigger for all group members.
Returned template
OnMemberInfoChangedCallback = void Function(
String groupID,
List<V2TimGroupMemberChangeInfo> v2TIMGroupMemberChangeInfoList
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
v2TIMGroupMemberChangeInfoList | List< V2TimGroupMemberChangeInfo > | The list of modified group members info. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onMemberInfoChanged: (String groupID,
List<V2TimGroupMemberChangeInfo>
v2TIMGroupMemberChangeInfoList) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);