onUserInfoUpdated property
Callback when remote user information is updated.
After a remote user joins the channel, the SDK obtains the user's UID and User Account, then caches a mapping table that includes the remote user's UID and User Account, and triggers this callback locally.
uidThe ID of the remote user.infoThe UserInfo object that identifies the user information, including the user's UID and User Account. See UserInfo class.
Implementation
final void Function(int uid, UserInfo info)? onUserInfoUpdated;