NERoomService class Null safety

房间服务

Constructors

NERoomService()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createRoom(NECreateRoomParams params, NECreateRoomOptions options) Future<VoidResult>
创建一个房间,不会加入房间 params 创建房间的参数 options 创建房间的选项
getRoomContext(String roomUuid) NERoomContext?
根据 roomUuid 获取 RoomContext 实例 roomUuid 房间id
joinRoom(NEJoinRoomParams params, NEJoinRoomOptions options) Future<NEResult<NERoomContext>>
加入一个房间。成功加入房间后会返回一个 NERoomContext 实例,可以进行房间内相关操作。 params 加入房间的参数 options 加入房间的选项
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
previewRoom(NEPreviewRoomParams params, NEPreviewRoomOptions options) Future<NEResult<NEPreviewRoomContext>>
加入房间前预览。成功预览房间后会返回一个 NEPreviewRoomContext 实例,可以进行预览房间相关操作。 params 预览房间的参数 options 预览房间的选项
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited