onRoomExtraInfoUpdate method

void onRoomExtraInfoUpdate(
  1. String roomID,
  2. List<ZegoRoomExtraInfo> roomExtraInfoList
)

The callback triggered when there is an update on the extra information of the room.

Available since: 1.1.0 Description: After the room extra information is updated, all users in the room will be notified except update the room extra information user. Use cases: Extra information for the room. When to call /Trigger: When a user update the room extra information, other users in the same room will receive the callback. Restrictions: None. Related APIs: Users can update room extra information through setRoomExtraInfo function.

  • roomID Room ID where the user is logged in, a string of up to 128 bytes in length.
  • roomExtraInfoList List of the extra info updated.

Implementation

void onRoomExtraInfoUpdate(
  String roomID,
  List<ZegoRoomExtraInfo> roomExtraInfoList,
) {}