EMMultiDeviceListener class Null safety

The multi-device event listener. Listens for callback for the current user's actions on other devices, including contact changes and group changes.

Registers a multi-device event listener:

  EMClient.getInstance.addMultiDeviceListener(mMultiDeviceListener);

Removes a multi-device event listener:

  EMClient.getInstance.removeMultiDeviceListener(mMultiDeviceListener);

Constructors

EMMultiDeviceListener()

Properties

hashCode int
The hash code for this object. [...]
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
onContactEvent(EMMultiDevicesEvent event, String username, String? ext) → void
The multi-device event callback of contact. [...]
onGroupEvent(EMMultiDevicesEvent event, String groupId, List<String>? usernames) → void
The multi-device event callback of group. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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