UserEventHandler class
User event handler. To add or remove this handler, refer to SendbirdChat.addUserEventHandler and SendbirdChat.removeUserEventHandler.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- 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
-
onFriendsDiscovered(
List< User> friends) → void - The friends discovered event.
-
onTotalUnreadMessageCountChanged(
UnreadMessageCount unreadMessageCount) → void - Gets the subscribed total number of unread message of all GroupChannels and FeedChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type. @since 4.0.1
-
onTotalUnreadMessageCountUpdated(
int totalCount, Map< String, int> totalCountByCustomType) → void -
Gets the subscribed total number of unread message of all
GroupChannel
s the current user has joined, and number of unread message ofGroupChannel
for all subscribed custom type. @deprecated as of 4.0.1, replaced by onTotalUnreadMessageCountChanged -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited