NERoomService class abstract

房间服务

Annotations
  • @HawkEntryPoint()

Constructors

NERoomService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelJoinRoom(String roomUuid) Future<VoidResult>
取消加入房间。 roomUuid 房间id
createRoom(NECreateRoomParams params, NECreateRoomOptions options) Future<VoidResult>
创建一个房间,不会加入房间 params 创建房间的参数 options 创建房间的选项
downloadAttachment(String messageUuid) Future<NEResult<VoidResult>>
获取消息附件 messageUuid 消息id
fetchChatroomHistoryMessages(String roomArchiveId, NEChatroomHistoryMessageSearchOption option) Future<NEResult<List<NERoomChatMessage>>>
获取聊天室历史消息 chatroomId 聊天室id option 获取聊天室历史消息的查询选项
getRoomCloudRecordList(String roomArchiveId) Future<NEResult<List<NERoomRecord>>>
获取房间云录制文件列表信息 roomUuid 房间归档id
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 nonexistent 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