V2TimFriendshipListener
Introduction
The listener registered for the friendship-related events.
Parameter introduction
onFriendApplicationListAdded
- Parameter type : OnFriendApplicationListAdded
- Parameter description : New friend request notification.
You will receive this callback in the following cases:
You send a friend request to others.
You receive a friend request from others.
onFriendApplicationListDeleted
- Parameter type : OnFriendApplicationListDeleted
- Parameter description : Friend request deletion notification.
You will receive this callback in the following cases:
You call deleteFriendApplication to proactively delete a friend request.
You call refuseFriendApplication to reject a friend request.
You call acceptFriendApplication to accept a friend request and the acceptance type is V2TIM_FRIEND_ACCEPT_AGREE.
Your friend request is rejected by others.
onFriendApplicationListRead
- Parameter type : OnFriendApplicationListRead
- Parameter description : Friend request read notification. When you call setFriendApplicationRead to set the friend request list as read, you will receive this callback (mainly used for multi-device synchronization).
onFriendListAdded
- Parameter type : OnFriendListAdded
- Parameter description : New friend notification.
onFriendListDeleted
- Parameter type : OnFriendListDeleted
- Parameter description : Friend deletion notification.
You will receive this callback in the following cases:
You delete a friend (received for one-way or two-way friend deletion).
You are deleted by a friend (received for two-way friend deletion).
onBlackListAdd
- Parameter type : OnBlackListAdd
- Parameter description : New members to blocklist notification.
onBlackListDeleted
- Parameter type : OnBlackListDeleted
- Parameter description : Members been removed from blocklist notification.
onFriendInfoChanged
- Parameter type : OnFriendInfoChanged
- Parameter description : Friend profile update notification.