onLocalUserRegistered property

void Function(int uid, String userAccount)? onLocalUserRegistered
final

Occurs when the local user registers a user account. After the local user successfully calls registerLocalUserAccount to register the user account or calls joinChannelWithUserAccount to join a channel, the SDK triggers the callback and informs the local user's UID and User Account.

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

Implementation

final void Function(int uid, String userAccount)? onLocalUserRegistered;