onGroupAttributesUpdated property
(void Function(ZIM zim, List<ZIMGroupAttributesUpdateInfo> updateInfo, ZIMGroupOperatedInfo operatedInfo, String groupID)?)
onGroupAttributesUpdated
getter/setter pair
Description: Group attribute change notification callback.
Use cases: When group attributes are changed, you need to synchronize the latest group attributes.
When to call /Trigger: Triggered when group properties are set, updated, or deleted.
Impacts on other APIs: ZIM.setGroupAttributes updates group attributes. ZIM.deleteGroupAttributes, delete the group attribute.
zim
ZIM instance.
operatedInfo
Operation information after the group attribute is updated.
updateInfo
Information after group attribute update.
groupID
The groupID for sending group attribute updates.
Implementation
static void Function(
ZIM zim,
List<ZIMGroupAttributesUpdateInfo> updateInfo,
ZIMGroupOperatedInfo operatedInfo,
String groupID)? onGroupAttributesUpdated;