ChatRoomManagerListener class Null safety

The chat room manager listener.

Register the listener:

  ChatClient.getInstance.chatRoomManager.addChatRoomManagerListener(listener);

Unregister the listener:

  ChatClient.getInstance.chatRoomManager.removeChatRoomManagerListener(listener);
Annotations
  • @Deprecated("Use ChatRoomEventHandler to instead")

Constructors

ChatRoomManagerListener()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onAdminAddedFromChatRoom(String roomId, String admin) → void
Occurs when a member has been changed to an admin.
onAdminRemovedFromChatRoom(String roomId, String admin) → void
Occurs when an admin is been removed.
onAllChatRoomMemberMuteStateChanged(String roomId, bool isAllMuted) → void
Occurs when all members in the chat room are muted or unmuted.
onAllowListAddedFromChatRoom(String roomId, List<String> members) → void
Occurs when the chat room member(s) is added to the allowlist.
onAllowListRemovedFromChatRoom(String roomId, List<String> members) → void
Occurs when the chat room member(s) is removed from the allowlist.
onAnnouncementChangedFromChatRoom(String roomId, String announcement) → void
Occurs when the announcement changed.
onChatRoomDestroyed(String roomId, String? roomName) → void
Occurs when the chat room is destroyed.
onMemberExitedFromChatRoom(String roomId, String? roomName, String participant) → void
Occurs when a member leaves the chatroom.
onMemberJoinedFromChatRoom(String roomId, String participant) → void
Occurs when a member join the chatroom.
onMuteListAddedFromChatRoom(String roomId, List<String> mutes, String? expireTime) → void
Occurs when there are chat room member(s) muted (added to mute list).
onMuteListRemovedFromChatRoom(String roomId, List<String> mutes) → void
Occurs when there are chat room member(s) unmuted (removed from mute list).
onOwnerChangedFromChatRoom(String roomId, String newOwner, String oldOwner) → void
Occurs when the chat room ownership has been transferred.
onRemovedFromChatRoom(String roomId, String? roomName, String? participant) → void
Occurs when a member is dismissed from a chat room.
toString() String
A string representation of this object.
inherited

Operators

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