loginWithAccount abstract method

Future<NEResult<void>> loginWithAccount(
  1. String username,
  2. String password
)

登录鉴权。在已登录状态下可以创建和加入房间,但在未登录状态下只能加入房间

  • username 登录账号
  • password 登录密码

Implementation

Future<NEResult<void>> loginWithAccount(String username, String password);