V2TimFriendshipListener
Introduction
The listener registered for the friendship-related events.
Parameter introduction
onFriendApplicationListAdded
Parameter type : OnFriendApplicationListAddedCallback
Supported Platform: All
- 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 : OnFriendApplicationListDeletedCallback
Supported Platform: All
- 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 : OnFriendApplicationListReadCallback
Supported Platform: All
- 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 : OnFriendListAddedCallback
Supported Platform: All
- Parameter description : New friend notification.
onFriendListDeleted
Parameter type : OnFriendListDeletedCallback
Supported Platform: All
- 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 : OnBlackListAddCallback
Supported Platform: All
- Parameter description : New members to blocklist notification.
onBlackListDeleted
Parameter type : OnBlackListDeletedCallback
Supported Platform: All
- Parameter description : Members been removed from blocklist notification.
onFriendInfoChanged
Parameter type : OnFriendInfoChangedCallback
Supported Platform: All
- Parameter description : Friend profile update notification.