getUserInfoByUserAccount abstract method
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 onUserInfoUpdated callback on the local client. After receiving the callback, you can call this method and pass in the user account to get the UID of the remote user from the UserInfo object.
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);