ChatMultiDevicesEvent enum

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.

CONTACT_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a friend request on another device.

CONTACT_DECLINE → const ChatMultiDevicesEvent

The current user declined a friend request on another device.

CONTACT_BAN → const ChatMultiDevicesEvent

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

CONTACT_ALLOW → const ChatMultiDevicesEvent

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

GROUP_CREATE → const ChatMultiDevicesEvent

The current user created a group on another device.

GROUP_DESTROY → const ChatMultiDevicesEvent

The current user destroyed a group on another device.

GROUP_JOIN → const ChatMultiDevicesEvent

The current user joined a group on another device.

GROUP_LEAVE → const ChatMultiDevicesEvent

The current user left a group on another device.

GROUP_APPLY → const ChatMultiDevicesEvent

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

GROUP_APPLY_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a group request on another device.

GROUP_APPLY_DECLINE → const ChatMultiDevicesEvent

The current user declined a group request on another device.

GROUP_INVITE → const ChatMultiDevicesEvent

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

GROUP_INVITE_ACCEPT → const ChatMultiDevicesEvent

The current user accepted a group invitation on another device.

GROUP_INVITE_DECLINE → const ChatMultiDevicesEvent

The current user declined a group invitation on another device.

GROUP_KICK → const ChatMultiDevicesEvent

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

GROUP_BAN → const ChatMultiDevicesEvent

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

GROUP_ALLOW → const ChatMultiDevicesEvent

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

GROUP_BLOCK → const ChatMultiDevicesEvent

The current user blocked a group on another device.

GROUP_UNBLOCK → const ChatMultiDevicesEvent

The current user unblocked a group on another device.

GROUP_ASSIGN_OWNER → const ChatMultiDevicesEvent

The current user transferred the group ownership on another device.

GROUP_ADD_ADMIN → const ChatMultiDevicesEvent

The current user added an admin on another device.

GROUP_REMOVE_ADMIN → const ChatMultiDevicesEvent

The current user removed an admin on another device.

GROUP_ADD_MUTE → const ChatMultiDevicesEvent

The current user muted a member on another device.

GROUP_REMOVE_MUTE → const ChatMultiDevicesEvent

The current user unmuted a member on another device.

GROUP_ADD_USER_ALLOW_LIST → const ChatMultiDevicesEvent

The current user added on allow list on another device.

GROUP_REMOVE_USER_ALLOW_LIST → const ChatMultiDevicesEvent

The current user removed on allow list on another device.

GROUP_ALL_BAN → const ChatMultiDevicesEvent

The current user are group ban on another device.

GROUP_REMOVE_ALL_BAN → const ChatMultiDevicesEvent

The current user are remove group ban on another device.

GROUP_DISABLED → const ChatMultiDevicesEvent

The current user are group disable on another device.

GROUP_ABLE → const ChatMultiDevicesEvent

The current user are group able on another device.

GROUP_MEMBER_ATTRIBUTES_CHANGED → const ChatMultiDevicesEvent

The current user modified custom attributes of a group member on another device.

CHAT_THREAD_CREATE → const ChatMultiDevicesEvent

The current user created a message thread on another device.

CHAT_THREAD_DESTROY → const ChatMultiDevicesEvent

The current user destroyed a message thread on another device.

CHAT_THREAD_JOIN → const ChatMultiDevicesEvent

The current user joined a message thread on another device.

CHAT_THREAD_LEAVE → const ChatMultiDevicesEvent

The current user left a message thread on another device.

CHAT_THREAD_UPDATE → const ChatMultiDevicesEvent

The current user updated message thread information on another device.

CHAT_THREAD_KICK → const ChatMultiDevicesEvent

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

CONVERSATION_PINNED → const ChatMultiDevicesEvent

The current user pinned a conversation on another device.

CONVERSATION_UNPINNED → const ChatMultiDevicesEvent

The current user unpinned a conversation on another device.

CONVERSATION_DELETE → const ChatMultiDevicesEvent

The current user removed a conversation from the server.

Properties

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

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.
[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, …