UserEventDelegate
public protocol UserEventDelegate: AnyObject
Represents a delegate to receive user relates events
-
Invoked when list of users has been discovered
Declaration
Swift
optional func didDiscoverFriends(_ friends: [User]?)
Parameters
friends
list of user
-
Invoked when total unread message count has been updated
Since
3.0.154Declaration
Swift
@available(*, deprecated, renamed: "didUpdateTotalUnreadMessageCount(unreadMessageCount:﹚", message: "This method is deprecated in 4.6.0.") optional func didUpdateTotalUnreadMessageCount( _ totalCount: Int32, totalCountByCustomType: [String: Int]? )
Parameters
totalCount
New total unread count
totalCountByCustomType
Dictionary with key of custom tyeps and value of unread count
-
Since
4.6.0Declaration
Swift
optional func didUpdateTotalUnreadMessageCount( unreadMessageCount: UnreadMessageCount )