getUserInfoByUid abstract method
Gets the user information by passing in the user ID. 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 the userInfoUpdated callback on the local client. After receiving the callback, you can call this method to get the user account of the remote user from the UserInfo object by passing in the user ID.
Param uid
return The UserInfo object that identifies the user information. Not null: Success. Null: Failure.
Implementation
Future<UserInfo> getUserInfoByUid(int uid);