localUserRegistered property Null safety

UserAccountCallback? localUserRegistered
read / write

Occurs when the local user registers a user account.

This callback is triggered when the local user successfully registers a user account by calling the RtcEngine.registerLocalUserAccount method, or joins a channel by calling the RtcEngine.joinChannelWithUserAccount method. This callback reports the user ID and user account of the local user.

The UserAccountCallback typedef includes the following parameters:

  • int uid: The ID of the local user.
  • String userAccount: The account of the local user.


UserAccountCallback? localUserRegistered;