Interface GroupEventListener

    • 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 onGroupOperation(String groupId, GroupMemberInfo operatorInfo, GroupInfo groupInfo, GroupOperation operation, List<GroupMemberInfo> memberInfos, long operationTime) Group Operation Callback
      abstract void onGroupInfoChanged(GroupMemberInfo operatorInfo, GroupInfo changeGroupInfo, List<GroupInfoKeys> updateKeys, long operationTime) Group Information Update Callback
      void onGroupInfoChanged(GroupMemberInfo operatorInfo, GroupInfo fullGroupInfo, GroupInfo changeGroupInfo, List<GroupInfoKeys> updateKeys, long operationTime) 群组资料变更回调
      abstract void onGroupMemberInfoChanged(String groupId, GroupMemberInfo operatorInfo, GroupMemberInfo memberInfo, long operationTime) Callback for group member profile changes
      abstract void onGroupApplicationEvent(GroupApplicationInfo info) Group Request Event Callback Includes the following events: 1.
      abstract void onGroupRemarkChangedSync(String groupId, GroupOperationType operationType, String groupRemark, long operationTime) Callback event for multi-device synchronization of group remark name updates.
      abstract void onGroupFollowsChangedSync(String groupId, GroupOperationType operationType, List<String> userIds, long operationTime) Callback event triggered when the special attention status of group members changes across multiple devices.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onGroupOperation

         abstract void onGroupOperation(String groupId, GroupMemberInfo operatorInfo, GroupInfo groupInfo, GroupOperation operation, List<GroupMemberInfo> memberInfos, long operationTime)

        Group Operation Callback

        Parameters:
        groupId - The group ID
        operatorInfo - The operator's user information.
        groupInfo - The group information.
        operation - The type of group operation.
        memberInfos - The list of group members involved in this operation.
        operationTime - The operation time.
      • onGroupInfoChanged

         abstract void onGroupInfoChanged(GroupMemberInfo operatorInfo, GroupInfo changeGroupInfo, List<GroupInfoKeys> updateKeys, long operationTime)

        Group Information Update Callback

        Parameters:
        operatorInfo - User information of the operator
        changeGroupInfo - Group information.
        updateKeys - List of keys for the group information that were updated in this operation
        operationTime - Operation time
      • onGroupInfoChanged

         void onGroupInfoChanged(GroupMemberInfo operatorInfo, GroupInfo fullGroupInfo, GroupInfo changeGroupInfo, List<GroupInfoKeys> updateKeys, long operationTime)

        群组资料变更回调

        Parameters:
        operatorInfo - 操作人用户信息
        fullGroupInfo - 群组信息。注意:只有包含在 updateKeys 中的属性值有效
        changeGroupInfo - 变更的群组信息
        updateKeys - 群组信息本次更新有变化的Key列表。
        operationTime - 操作时间。
      • onGroupMemberInfoChanged

         abstract void onGroupMemberInfoChanged(String groupId, GroupMemberInfo operatorInfo, GroupMemberInfo memberInfo, long operationTime)

        Callback for group member profile changes

        Parameters:
        groupId - The ID of the group
        operatorInfo - The profile of the member who performed the change
        memberInfo - The profile of the member that was changed
        operationTime - The time when the operation occurred
      • onGroupApplicationEvent

         abstract void onGroupApplicationEvent(GroupApplicationInfo info)

        Group Request Event Callback

        Includes the following events: 1. Request or Result for a user applying to join a group 2. Request or Result for inviting a user to join a group

        Parameters:
        info - The group request callback event.
      • onGroupRemarkChangedSync

         abstract void onGroupRemarkChangedSync(String groupId, GroupOperationType operationType, String groupRemark, long operationTime)

        Callback event for multi-device synchronization of group remark name updates.

        Parameters:
        groupId - The ID of the group.
        operationType - The type of operation, either add or remove.
        groupRemark - The content of the group remark.
        operationTime - The time of the operation.
      • onGroupFollowsChangedSync

         abstract void onGroupFollowsChangedSync(String groupId, GroupOperationType operationType, List<String> userIds, long operationTime)

        Callback event triggered when the special attention status of group members changes across multiple devices.

        Parameters:
        groupId - The ID of the group.
        operationType - The type of operation, either add or remove.
        userIds - An array of user IDs of the members.
        operationTime - The time of the operation.