Sendbird Chat SDK for .NET  3.0.29
SendBird.SendBirdClient.UserEventHandler Class Reference

Public Member Functions

delegate void OnFriendsDiscoveredDelegate (List< User > users)
 
delegate void OnTotalUnreadMessageCountChangedDelegate (int totalCount, SafeDictionary< string, int > totalCountByCustomType)
 

Public Attributes

OnFriendsDiscoveredDelegate OnFriendsDiscovered = delegate { }
 
OnTotalUnreadMessageCountChangedDelegate OnTotalUnreadMessageCountChanged = delegate { }
 

Detailed Description

User event handler. To add or remove this handler, refer to addUserEventHandler(String, UserEventHandler) and removeUserEventHandler(String).

Since
3.0.17

Member Function Documentation

◆ OnFriendsDiscoveredDelegate()

delegate void SendBird.SendBirdClient.UserEventHandler.OnFriendsDiscoveredDelegate ( List< User users)

A callback for when a message is received.

Parameters
usersThe discovered friends list.
Since
3.0.17

◆ OnTotalUnreadMessageCountChangedDelegate()

delegate void SendBird.SendBirdClient.UserEventHandler.OnTotalUnreadMessageCountChangedDelegate ( int  totalCount,
SafeDictionary< string, int >  totalCountByCustomType 
)

Gets the subscribed total number of unread message of all GroupChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type.

Parameters
totalCountThe subscribed total unread message count.
totalCountByCustomTypeTotal subscribed custom type unread message count.
Since
3.0.17

The documentation for this class was generated from the following file: