onLocalUserRegistered

Occurs when the local user registers a user account.

public void onLocalUserRegistered(int uid, String userAccount) {}

After the local user successfully calls registerLocalUserAccount to register the user account or calls joinChannelWithUserAccount [2/2] to join a channel, the SDK triggers the callback and informs the local user's UID and User Account.

Parameters

uid
The ID of the local user.
userAccount
The user account of the local user.