ChatRoomServiceImplement class
- Inheritance
-
- Object
- ChatRoomService
- ChatRoomServiceImplement
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
responses
↔ List<
ChatroomResponse> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bindResponse(
ChatroomResponse response) → void -
Description Binding a listener to receive callback events.
override
-
chatroomOperating(
{required String roomId, required ChatroomOperationType type}) → Future< void> -
Description Chatroom operation events.
override
-
dispose(
) → void -
override
-
fetchAnnouncement(
{required String roomId}) → Future< String?> -
Description Get chatroom announcement.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAnnouncementChangedFromChatRoom(
String roomId, String announcement) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onChatRoomDestroyed(
String roomId) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMemberExitedFromChatRoom(
String roomId, String participant) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMessageRecalled(
String roomId, Message message) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMessagesReceived(
List< Message> messages) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMessageTransformed(
String roomId, Message message) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMuteListAddedFromChatRoom(
String roomId, List< String> mutes) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onMuteListRemovedFromChatRoom(
String roomId, List< String> mutes) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
onRemovedFromChatRoom(
String roomId, RoomLeaveReason? reason) → void -
Available on ChatRoomServiceImplement, provided by the ChatroomEventsListener extension
-
operatingUser(
{required String roomId, required ChatroomUserOperationType type, required String userId}) → Future< void> -
Description Various operations of group owners or administrators on users.
override
-
recall(
{required String roomId, required Message message}) → Future< void> -
Report illegal message.
override
-
report(
{required String messageId, required String tag, required String reason}) → Future< void> -
Report illegal message.
override
-
sendCustomMessage(
{required String roomId, required String event, Map< String, String> ? params, List<String> ? receiver}) → Future<void> -
Description Send targeted custom messages to some members of the chat room
override
-
sendEventResult(
RoomEventsType type, ChatError? error) → void -
sendRoomMessage(
{required String roomId, required String message, List< String> ? receiver}) → Future<void> -
Description Send targeted text messages to some members of the chat room
override
-
toString(
) → String -
A string representation of this object.
inherited
-
translateMessage(
{required String roomId, required Message message, required LanguageCode language}) → Future< Message> -
Description Translate the specified message
override
-
unbindResponse(
ChatroomResponse response) → void -
Description Unbind the listener.
override
-
updateAnnouncement(
{required String roomId, required String announcement}) → Future< void> -
Description Update chatroom announcement
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited