getUserInfoByUserAccount abstract method
Gets the user information by passing in the user account.
After a remote user joins the channel, the SDK gets the user ID and account of the remote user, caches them in a mapping table object, and triggers the onUserInfoUpdated 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.
userAccount
The user account.
Returns A pointer to the UserInfo instance, if the method call succeeds. If the call fails, returns NULL.
Implementation
Future<UserInfo> getUserInfoByUserAccount(String userAccount);