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, CoreErrorCode errorCode) 更新群组信息
      abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, CoreErrorCode errorCode) 更新群组成员信息
      abstract void setGroupRemark(String groupId, String remark, CoreErrorCode errorCode) 设置群组备注
      abstract void updateMyUserProfile(UserProfile userProfile, CoreErrorCode errorCode) 更新用户信息
      abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, CoreErrorCode errorCode) 设置好友信息
      • 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, CoreErrorCode errorCode)

        更新群组信息

        Parameters:
        groupInfo - 群组信息
        errorCode - 错误码
      • setGroupMemberInfo

         abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, CoreErrorCode errorCode)

        更新群组成员信息

        Parameters:
        groupId - 群组ID
        userId - 用户ID
        nickname - 昵称
        extra - 扩展信息
        errorCode - 错误码
      • setGroupRemark

         abstract void setGroupRemark(String groupId, String remark, CoreErrorCode errorCode)

        设置群组备注

        Parameters:
        groupId - 群组ID
        remark - 备注
        errorCode - 错误码
      • updateMyUserProfile

         abstract void updateMyUserProfile(UserProfile userProfile, CoreErrorCode errorCode)

        更新用户信息

        Parameters:
        userProfile - 用户信息
        errorCode - 错误码
      • setFriendInfo

         abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, CoreErrorCode errorCode)

        设置好友信息

        Parameters:
        userId - 用户ID
        remark - 备注
        extProfile - 扩展信息
        errorCode - 错误码