userInfoUpdated property

UserInfoCallback? userInfoUpdated
getter/setter pair

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 (UserInfo), and triggers this callback on the local client.

The UserInfoCallback typedef includes the following parameters:

  • int uid: The ID of the local user.
  • UserInfo userInfo: The UserInfo object that contains the user ID and user account of the remote user.

Implementation

UserInfoCallback? userInfoUpdated;