EMMultiDevicesEvent 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

EMMultiDevicesEvent()
const

Values

CONTACT_REMOVE → const EMMultiDevicesEvent

The current user removed a contact on another device.

CONTACT_ACCEPT → const EMMultiDevicesEvent

The current user accepted a friend request on another device.

CONTACT_DECLINE → const EMMultiDevicesEvent

The current user declined a friend request on another device.

CONTACT_BAN → const EMMultiDevicesEvent

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

CONTACT_ALLOW → const EMMultiDevicesEvent

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

GROUP_CREATE → const EMMultiDevicesEvent

The current user created a group on another device.

GROUP_DESTROY → const EMMultiDevicesEvent

The current user destroyed a group on another device.

GROUP_JOIN → const EMMultiDevicesEvent

The current user joined a group on another device.

GROUP_LEAVE → const EMMultiDevicesEvent

The current user left a group on another device.

GROUP_APPLY → const EMMultiDevicesEvent

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

GROUP_APPLY_ACCEPT → const EMMultiDevicesEvent

The current user accepted a group request on another device.

GROUP_APPLY_DECLINE → const EMMultiDevicesEvent

The current user declined a group request on another device.

GROUP_INVITE → const EMMultiDevicesEvent

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

GROUP_INVITE_ACCEPT → const EMMultiDevicesEvent

The current user accepted a group invitation on another device.

GROUP_INVITE_DECLINE → const EMMultiDevicesEvent

The current user declined a group invitation on another device.

GROUP_KICK → const EMMultiDevicesEvent

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

GROUP_BAN → const EMMultiDevicesEvent

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

GROUP_ALLOW → const EMMultiDevicesEvent

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

GROUP_BLOCK → const EMMultiDevicesEvent

The current user blocked a group on another device.

GROUP_UNBLOCK → const EMMultiDevicesEvent

The current user unblocked a group on another device.

GROUP_ASSIGN_OWNER → const EMMultiDevicesEvent

The current user transferred the group ownership on another device.

GROUP_ADD_ADMIN → const EMMultiDevicesEvent

The current user added an admin on another device.

GROUP_REMOVE_ADMIN → const EMMultiDevicesEvent

The current user removed an admin on another device.

GROUP_ADD_MUTE → const EMMultiDevicesEvent

The current user muted a member on another device.

GROUP_REMOVE_MUTE → const EMMultiDevicesEvent

The current user unmuted a member on another device.

GROUP_ADD_USER_ALLOW_LIST → const EMMultiDevicesEvent

The current user added on allow list on another device.

GROUP_REMOVE_USER_ALLOW_LIST → const EMMultiDevicesEvent

The current user removed on allow list on another device.

GROUP_ALL_BAN → const EMMultiDevicesEvent

The current user are group ban on another device.

GROUP_REMOVE_ALL_BAN → const EMMultiDevicesEvent

The current user are remove group ban on another device.

GROUP_DISABLED → const EMMultiDevicesEvent

The current user are group disable on another device.

GROUP_ABLE → const EMMultiDevicesEvent

The current user are group able on another device.

CHAT_THREAD_CREATE → const EMMultiDevicesEvent

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

CHAT_THREAD_DESTROY → const EMMultiDevicesEvent

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

CHAT_THREAD_JOIN → const EMMultiDevicesEvent

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

CHAT_THREAD_LEAVE → const EMMultiDevicesEvent

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

CHAT_THREAD_UPDATE → const EMMultiDevicesEvent

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

CHAT_THREAD_KICK → const EMMultiDevicesEvent

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

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<EMMultiDevicesEvent>
A constant List of the values in this enum, in order of their declaration.