NERoomChatController class Null safety
- Inheritance
-
- Object
- NERoomBaseController
- NERoomChatController
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- isSupported → bool
-
Get whether the feature is supported.
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> - Cancel downloading the attachment of a file message.
-
clearAttachments(
) → void -
inherited
-
downloadAttachment(
String messageUuid) → Future< VoidResult> - Download the attachment of a file message.
-
fetchChatroomMembers(
NEChatroomMemberQueryType queryType, int limit) → Future< NEResult< List< >NEChatroomMember> > -
Get members in a chat room
queryType
Member query typelimit
Limit on the number of members -
getAttachment(
String name) → dynamic -
inherited
-
joinChatroom(
) → Future< VoidResult> - Join a chat room
-
leaveChatroom(
) → Future< VoidResult> - Leave a chat room
-
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> -
Send broadcast messages
message
text message -
sendDirectTextMessage(
String userUuid, String message) → Future< VoidResult> -
Send directional messages
userUuid
user IDmessage
text message -
sendFileMessage(
String messageUuid, String filePath, List< String> ? userUuids) → Future<VoidResult> - Send file messages
-
sendGroupTextMessage(
List< String> userUuids, String message) → Future<VoidResult> -
Send messages to multiple people
userUuids
User IDsmessage
text message -
sendImageMessage(
String messageUuid, String imagePath, List< String> ? userUuids) → Future<VoidResult> - Send image messages
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited