NERoomChatController class Null safety
- Inheritance
-
- Object
- NERoomBaseController
- NERoomChatController
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- isSupported → bool
-
功能是否支持
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addAttachment(
String name, dynamic attachment) → void -
inherited
-
cancelDownloadAttachment(
String messageUuid) → Future< VoidResult> - 取消下载文件消息附件。
-
clearAttachments(
) → void -
inherited
-
downloadAttachment(
String messageUuid) → Future< VoidResult> - 下载文件消息附件。
-
fetchChatroomMembers(
NEChatroomMemberQueryType queryType, int limit) → Future< NEResult< List< >NEChatroomMember> > -
获取聊天室成员
queryType
成员查询类型limit
人数限制 -
getAttachment(
String name) → dynamic -
inherited
-
joinChatroom(
) → Future< VoidResult> - 加入聊天室
-
leaveChatroom(
) → Future< VoidResult> - 离开聊天室
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
removeAttachment(
String name) → void -
inherited
-
sendBroadcastTextMessage(
String message) → Future< VoidResult> -
发送广播消息
message
文本消息 -
sendDirectTextMessage(
String userUuid, String message) → Future< VoidResult> -
发送定向消息
userUuid
对方用户idmessage
文本消息 -
sendFileMessage(
String messageUuid, String filePath, List< String> ? userUuids) → Future<VoidResult> - 发送文件消息
-
sendGroupTextMessage(
List< String> userUuids, String message) → Future<VoidResult> -
给多人发送消息
userUuids
用户id列表message
文本消息 -
sendImageMessage(
String messageUuid, String imagePath, List< String> ? userUuids) → Future<VoidResult> - 发送图片消息
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited