getUserInfoByUserAccount abstract method

Future<UserInfo> getUserInfoByUserAccount(
  1. String userAccount
)

Gets the user information by passing in the user account. 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 userAccount The user account.

return The UserInfo object that identifies the user information. Not null: Success. Null: Failure.

Implementation

Future<UserInfo> getUserInfoByUserAccount(String userAccount);