ChatPresenceEventHandler class

The presence event handler.

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

Adds a presence event handler:

  ChatClient.getInstance.presenceManager.addEventHandler(UNIQUE_HANDLER_ID, ChatPresenceEventHandler());

Removes a presence event handler:

  ChatClient.getInstance.presenceManager.removeEventHandler(UNIQUE_HANDLER_ID);

Constructors

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

Properties

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