EMPresenceEventHandler class

The presence event handler.

Occurs when the following presence events happens: presence status changed.

Adds a presence event handler:

  EMClient.getInstance.presenceManager.addEventHandler(UNIQUE_HANDLER_ID, EMPresenceEventHandler());

Remove a presence event handler:

  EMClient.getInstance.presenceManager.removeEventHandler(UNIQUE_HANDLER_ID);

Constructors

EMPresenceEventHandler({dynamic onPresenceStatusChanged(List<EMPresence> list)?})
The presence manager listener callback.

Properties

hashCode int
The hash code for this object.
no setterinherited
onPresenceStatusChanged → (dynamic Function(List<EMPresence> list)?)
Occurs when the presence state of a subscribed user changes.
final
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