Package io.rong.imlib.listener
Interface GroupEventListener
-
- All Implemented Interfaces:
public interface GroupEventListener
-
-
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 groupInfo, List<GroupInfoKeys> updateKeys, long operationTime)
Group Information Update Callback 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. -
-
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 IDoperatorInfo
- 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 groupInfo, List<GroupInfoKeys> updateKeys, long operationTime)
Group Information Update Callback
- Parameters:
operatorInfo
- User information of the operatorgroupInfo
- Group information.updateKeys
- List of keys for the group information that were updated in this operationoperationTime
- Operation time
-
onGroupMemberInfoChanged
abstract void onGroupMemberInfoChanged(String groupId, GroupMemberInfo operatorInfo, GroupMemberInfo memberInfo, long operationTime)
Callback for group member profile changes
- Parameters:
groupId
- The ID of the groupoperatorInfo
- The profile of the member who performed the changememberInfo
- The profile of the member that was changedoperationTime
- 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.
-
-
-
-