ChatMultiDevicesEvent enum Null safety

Multi-device event types.

This enumeration takes user A logged into both DeviceA1 and DeviceA2 as an example to illustrate the various multi-device event types and when these events are triggered.

Inheritance

Constructors

ChatMultiDevicesEvent()
const

Values

CONTACT_REMOVE → const ChatMultiDevicesEvent

The current user removed a contact on another device.

const ChatMultiDevicesEvent(0)
CONTACT_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a friend request on another device.

const ChatMultiDevicesEvent(1)
CONTACT_DECLINE → const ChatMultiDevicesEvent

The current user declined a friend request on another device.

const ChatMultiDevicesEvent(2)
CONTACT_BAN → const ChatMultiDevicesEvent

The current user added a contact to the block list on another device.

const ChatMultiDevicesEvent(3)
CONTACT_ALLOW → const ChatMultiDevicesEvent

The current user removed a contact from the block list on another device.

const ChatMultiDevicesEvent(4)
GROUP_CREATE → const ChatMultiDevicesEvent

The current user created a group on another device.

const ChatMultiDevicesEvent(5)
GROUP_DESTROY → const ChatMultiDevicesEvent

The current user destroyed a group on another device.

const ChatMultiDevicesEvent(6)
GROUP_JOIN → const ChatMultiDevicesEvent

The current user joined a group on another device.

const ChatMultiDevicesEvent(7)
GROUP_LEAVE → const ChatMultiDevicesEvent

The current user left a group on another device.

const ChatMultiDevicesEvent(8)
GROUP_APPLY → const ChatMultiDevicesEvent

The current user requested to join a group on another device.

const ChatMultiDevicesEvent(9)
GROUP_APPLY_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a group request on another device.

const ChatMultiDevicesEvent(10)
GROUP_APPLY_DECLINE → const ChatMultiDevicesEvent

The current user declined a group request on another device.

const ChatMultiDevicesEvent(11)
GROUP_INVITE → const ChatMultiDevicesEvent

The current user invited a user to join the group on another device.

const ChatMultiDevicesEvent(12)
GROUP_INVITE_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a group invitation on another device.

const ChatMultiDevicesEvent(13)
GROUP_INVITE_DECLINE → const ChatMultiDevicesEvent

The current user declined a group invitation on another device.

const ChatMultiDevicesEvent(14)
GROUP_KICK → const ChatMultiDevicesEvent

The current user kicked a member out of a group on another device.

const ChatMultiDevicesEvent(15)
GROUP_BAN → const ChatMultiDevicesEvent

The current user added a member to a group block list on another device.

const ChatMultiDevicesEvent(16)
GROUP_ALLOW → const ChatMultiDevicesEvent

The current user removed a member from a group block list on another device.

const ChatMultiDevicesEvent(17)
GROUP_BLOCK → const ChatMultiDevicesEvent

The current user blocked a group on another device.

const ChatMultiDevicesEvent(18)
GROUP_UNBLOCK → const ChatMultiDevicesEvent

The current user unblocked a group on another device.

const ChatMultiDevicesEvent(19)
GROUP_ASSIGN_OWNER → const ChatMultiDevicesEvent

The current user transferred the group ownership on another device.

const ChatMultiDevicesEvent(20)
GROUP_ADD_ADMIN → const ChatMultiDevicesEvent

The current user added an admin on another device.

const ChatMultiDevicesEvent(21)
GROUP_REMOVE_ADMIN → const ChatMultiDevicesEvent

The current user removed an admin on another device.

const ChatMultiDevicesEvent(22)
GROUP_ADD_MUTE → const ChatMultiDevicesEvent

The current user muted a member on another device.

const ChatMultiDevicesEvent(23)
GROUP_REMOVE_MUTE → const ChatMultiDevicesEvent

The current user unmuted a member on another device.

const ChatMultiDevicesEvent(24)
GROUP_ADD_USER_ALLOW_LIST → const ChatMultiDevicesEvent

The current user added on allow list on another device.

const ChatMultiDevicesEvent(25)
GROUP_REMOVE_USER_ALLOW_LIST → const ChatMultiDevicesEvent

The current user removed on allow list on another device.

const ChatMultiDevicesEvent(26)
GROUP_ALL_BAN → const ChatMultiDevicesEvent

The current user are group ban on another device.

const ChatMultiDevicesEvent(27)
GROUP_REMOVE_ALL_BAN → const ChatMultiDevicesEvent

The current user are remove group ban on another device.

const ChatMultiDevicesEvent(28)
GROUP_DISABLED → const ChatMultiDevicesEvent

The current user are group disable on another device.

const ChatMultiDevicesEvent(29)
GROUP_ABLE → const ChatMultiDevicesEvent

The current user are group able on another device.

const ChatMultiDevicesEvent(30)
CHAT_THREAD_CREATE → const ChatMultiDevicesEvent

User A creates an event in the sub-area of device A1, and other devices logged in to this account will receive this event

const ChatMultiDevicesEvent(31)
CHAT_THREAD_DESTROY → const ChatMultiDevicesEvent

User A destroys the event in the sub-area of device A1, and all other devices logged in to this account will receive this event

const ChatMultiDevicesEvent(32)
CHAT_THREAD_JOIN → const ChatMultiDevicesEvent

User A joins the event in the sub-area of device A1, and other devices logged in to this account will receive this event

const ChatMultiDevicesEvent(33)
CHAT_THREAD_LEAVE → const ChatMultiDevicesEvent

User A leaves the event in the sub-area of device A1, and other devices logged in to this account will receive this event

const ChatMultiDevicesEvent(34)
CHAT_THREAD_UPDATE → const ChatMultiDevicesEvent

User A updates the event in the sub-area of device A1, and other devices logged in to this account will receive this event

const ChatMultiDevicesEvent(35)
CHAT_THREAD_KICK → const ChatMultiDevicesEvent

User A is kicked in the sub-area of device A1, and all other devices that log in to this account will receive this event

const ChatMultiDevicesEvent(36)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[CONTACT_REMOVE, CONTACT_ACCEPT, CONTACT_DECLINE, CONTACT_BAN, CONTACT_ALLOW, GROUP_CREATE, GROUP_DESTROY, GROUP_JOIN, GROUP_LEAVE, GROUP_APPLY, GROUP_APPLY_ACCEPT, GROUP_APPLY_DECLINE, GROUP_INVITE, …