onUserInfoUpdated property

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

Occurs when the SDK gets the user ID and user account of the remote user. After a remote user joins the channel, the SDK gets the UID and user account of the remote user, caches them in a mapping table object, and triggers this callback on the local client.

  • uid The user ID of the remote user.
  • info The UserInfo object that contains the user ID and user account of the remote user. See UserInfo for details.

Implementation

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