ChatMultiDevicesEvent enum
Multi-device event types.
This enumeration takes user A logged into both Device A1 and Device A2 as an example to illustrate the various multi-device event types and when these events are triggered.
Values
- UnKnow → const ChatMultiDevicesEvent
- CONTACT_REMOVE → const ChatMultiDevicesEvent
-
If user A deletes a contact on Device A1, this event is triggered on Device A2.
- CONTACT_ACCEPT → const ChatMultiDevicesEvent
-
If user A accepts a friend request on Device A1, this event is triggered on Device A2.
- CONTACT_DECLINE → const ChatMultiDevicesEvent
-
If user A declines a friend request on Device A1, this event is triggered on Device A2.
- CONTACT_BAN → const ChatMultiDevicesEvent
-
If user A adds another user to the block list on Device A1, this event is triggered on Device A2.
- CONTACT_ALLOW → const ChatMultiDevicesEvent
-
If user A removes another user from the block list on Device A1, this event is triggered on Device A2.
- GROUP_CREATE → const ChatMultiDevicesEvent
-
If user A creates a chat group on Device A1, this event is triggered on Device A2.
- GROUP_DESTROY → const ChatMultiDevicesEvent
-
If user A destroys a chat group on Device A1, this event is triggered on Device A2.
- GROUP_JOIN → const ChatMultiDevicesEvent
-
If user A joins a chat group on Device A1, this event is triggered on Device A2.
- GROUP_LEAVE → const ChatMultiDevicesEvent
-
If user A leaves a chat group on Device A1, this event is triggered on Device A2.
- GROUP_APPLY → const ChatMultiDevicesEvent
-
If user A requests to join a chat group on Device A1, this event is triggered on Device A2.
- GROUP_APPLY_ACCEPT → const ChatMultiDevicesEvent
-
If user A accepts a request to join the chat group on Device A1, this event is triggered on Device A2.
- GROUP_APPLY_DECLINE → const ChatMultiDevicesEvent
-
If user A declines a request to join the chat group on Device A1, this event is triggered on Device A2.
- GROUP_INVITE → const ChatMultiDevicesEvent
-
If user A invites a user to join the chat group on Device A1, this event is triggered on Device A2.
- GROUP_INVITE_ACCEPT → const ChatMultiDevicesEvent
-
If user A accepts a group invitation on Device A1, this event is triggered on Device A2.
- GROUP_INVITE_DECLINE → const ChatMultiDevicesEvent
-
If user A declines a group invitation on Device A1, this event is triggered on Device A2.
- GROUP_KICK → const ChatMultiDevicesEvent
-
If user A declines a group invitation on Device A1, this event is triggered on Device A2.
- GROUP_BAN → const ChatMultiDevicesEvent
-
If user A adds a member to a group block list on Device A1, this event is triggered on Device A2.
- GROUP_ALLOW → const ChatMultiDevicesEvent
-
If user A removes a member from a group block list on Device A1, this event is triggered on Device A2.
- GROUP_BLOCK → const ChatMultiDevicesEvent
-
If user A blocks messages from a chat group on Device A1, this event is triggered on Device A2.
- GROUP_UNBLOCK → const ChatMultiDevicesEvent
-
If user A unblocks messages from a chat group on Device A1, this event is triggered on Device A2.
- GROUP_ASSIGN_OWNER → const ChatMultiDevicesEvent
-
If user A transfers the group ownership on Device A1, this event is triggered on Device A2.
- GROUP_ADD_ADMIN → const ChatMultiDevicesEvent
-
If user A adds a group admin on Device A1, this event is triggered on Device A2.
- GROUP_REMOVE_ADMIN → const ChatMultiDevicesEvent
-
If user A removes a group admin on Device A1, this event is triggered on Device A2.
- GROUP_ADD_MUTE → const ChatMultiDevicesEvent
-
If user A mutes a group member on Device A1, this event is triggered on Device A2.
- GROUP_REMOVE_MUTE → const ChatMultiDevicesEvent
-
If user A unmutes a group member on Device A1, this event is triggered on Device A2.
- GROUP_ADD_USER_ALLOW_LIST → const ChatMultiDevicesEvent
-
If user A adds other members to the allow list of the chat group on Device A1, this event is triggered on Device A2.
- GROUP_REMOVE_USER_ALLOW_LIST → const ChatMultiDevicesEvent
-
If user A removes other members from the allow list of the chat group on Device A1, this event is triggered on Device A2.
- GROUP_ALL_BAN → const ChatMultiDevicesEvent
-
If user A adds all other chat group members to the group mute list on Device A1, this event is triggered on Device A2.
- GROUP_REMOVE_ALL_BAN → const ChatMultiDevicesEvent
-
If user A removes all other chat group members from the group mute list on Device A1, this event is triggered on Device A2.
- GROUP_DISABLED → const ChatMultiDevicesEvent
-
If the group function is disabled for user A on Device A1, this event is triggered on Device A2.
- GROUP_ABLE → const ChatMultiDevicesEvent
-
If the group function is enabled for user A on Device A1, this event is triggered on Device A2.
- GROUP_MEMBER_ATTRIBUTES_CHANGED → const ChatMultiDevicesEvent
-
If user A modifies custom attributes of a group member on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_CREATE → const ChatMultiDevicesEvent
-
If user A creates a message thread on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_DESTROY → const ChatMultiDevicesEvent
-
If user A destroys a message thread on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_JOIN → const ChatMultiDevicesEvent
-
If user A joins a message thread on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_LEAVE → const ChatMultiDevicesEvent
-
If user A leaves a message thread on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_UPDATE → const ChatMultiDevicesEvent
-
If user A updates the message thread name, or sends or recalls a message in thread on Device A1, this event is triggered on Device A2.
- CHAT_THREAD_KICK → const ChatMultiDevicesEvent
-
If user A kicks a user from a message thread on Device A1, this event is triggered on Device A2.
- CONVERSATION_PINNED → const ChatMultiDevicesEvent
-
If user A pins a conversation on Device A1, this event is triggered on Device A2.
- CONVERSATION_UNPINNED → const ChatMultiDevicesEvent
-
If user A unpins a conversation on Device A1, this event is triggered on Device A2.
- CONVERSATION_DELETE → const ChatMultiDevicesEvent
-
If user A deletes a conversation on Device A1, this event is triggered on Device A2.
- CONVERSATION_UPDATE_MARK → const ChatMultiDevicesEvent
-
If user A updates a conversation mark on Device A1, this event is triggered on Device A2.
- CONVERSATION_MUTE_INFO_CHANGED → const ChatMultiDevicesEvent
-
If user A sets the Do Not Disturb mode for a conversation on device A1, this event is triggered on device A2.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ChatMultiDevicesEvent> - A constant List of the values in this enum, in order of their declaration.