joinRoom method Null safety

Future<NEResult<NERoomContext>> joinRoom(
  1. NEJoinRoomParams params,
  2. NEJoinRoomOptions options
)

加入一个房间。成功加入房间后会返回一个 NERoomContext 实例,可以进行房间内相关操作。 params 加入房间的参数 options 加入房间的选项

Implementation

Future<NEResult<NERoomContext>> joinRoom(
    NEJoinRoomParams params, NEJoinRoomOptions options);