onUserInfoUpdated property

void Function(int uid, UserInfo info)? onUserInfoUpdated
final

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.

  • uid The ID of the remote user.
  • info The 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;