Package 

Class SendBird.UserEventHandler

    • Method Summary

      Modifier and Type Method Description
      abstract void onFriendsDiscovered(List<User> users) A callback for when a message is received.
      void onTotalUnreadMessageCountChanged(int totalCount, Map<String, Integer> 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFriendsDiscovered

         abstract void onFriendsDiscovered(List<User> users)

        A callback for when a message is received.

        Parameters:
        users - The discovered friends list.
      • onTotalUnreadMessageCountChanged

         void onTotalUnreadMessageCountChanged(int totalCount, Map<String, Integer> 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:
        totalCount - The subscribed total unread message count.
        totalCountByCustomType - Total subscribed custom type unread message count.