onRoomMemberAttributesUpdated property

void Function(ZIM zim, List<ZIMRoomMemberAttributesUpdateInfo> infos, ZIMRoomOperatedInfo operatedInfo, String roomID)? onRoomMemberAttributesUpdated
getter/setter pair

Event callback when the room member attributes changes.

Available since: 1.3.0 and above. Description: When the member user attributes in the room change, this callback notifies the users. Triggered when: This callback is triggered when another user's attributes are changed in the room and the current user is online. Use cases: When business additional information needs to be recorded for each member in the room, this callback can be used to receive changes and refresh the UI. Related APIs: setRoomMemberAttributes.

  • zim ZIM instance.
  • infos Room member attribute change information list
  • operatedInfo Operation information
  • roomID The ID of the room where this event occurred.

Implementation

static void Function(
  ZIM zim,
  List<ZIMRoomMemberAttributesUpdateInfo> infos,
  ZIMRoomOperatedInfo operatedInfo,
  String roomID,
)?
onRoomMemberAttributesUpdated;