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 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. -
-
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 changeGroupInfo, List<GroupInfoKeys> updateKeys, long operationTime)
Group Information Update Callback
- Parameters:
operatorInfo
- User information of the operatorchangeGroupInfo
- Group information.updateKeys
- List of keys for the group information that were updated in this operationoperationTime
- 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 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.
-
-
-
-