Interface OnGroupAndUserEventListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void updateGroupInfo(GroupInfo groupInfo, NCError error) Updates group info.
      abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, NCError error) Updates group member info.
      abstract void updateMyUserProfile(UserProfile userProfile, NCError error) Updates the current user's profile.
      abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, NCError error) Sets friend info.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • updateGroupInfo

         abstract void updateGroupInfo(GroupInfo groupInfo, NCError error)

        Updates group info.

        Parameters:
        groupInfo - the group info
        error - the error, null on success
      • setGroupMemberInfo

         abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, NCError error)

        Updates group member info.

        Parameters:
        groupId - the group ID
        userId - the user ID
        nickname - the nickname
        extra - the extra data
        error - the error, null on success
      • updateMyUserProfile

         abstract void updateMyUserProfile(UserProfile userProfile, NCError error)

        Updates the current user's profile.

        Parameters:
        userProfile - the user profile
        error - the error, null on success
      • setFriendInfo

         abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, NCError error)

        Sets friend info.

        Parameters:
        userId - the user ID
        remark - the remark
        extProfile - the extended profile
        error - the error, null on success