EMPresenceManager class Null safety

The Manager that defines how to manage presence states.

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

addPresenceManagerListener(EMPresenceManagerListener listener) → void
Registers a new presence manager listener.
clearAllPresenceManagerListener() → void
fetchPresenceStatus({required List<String> members}) Future<List<EMPresence>>
Gets the current presence state of users.
fetchSubscribedMembers({int pageNum = 1, int pageSize = 20}) Future<List<String>>
Uses pagination to get a list of users whose presence states you have subscribed to.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
publishPresence(String description) Future<void>
Publishes a custom presence state.
removePresenceManagerListener(EMPresenceManagerListener listener) → void
Removes the contact listener.
subscribe({required List<String> members, required int expiry}) Future<List<EMPresence>>
Subscribes to a user's presence states. If the subscription succeeds, the subscriber will receive the callback when the user's presence state changes.
toString() String
A string representation of this object.
inherited
unSubscribe({required List<String> members}) Future<void>
Unsubscribes from a user's presence states.

Operators

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