V2TimFriendshipListener

Introduction

The listener registered for the friendship-related events.

Parameter introduction

onFriendApplicationListAdded

You will receive this callback in the following cases:

  1. You send a friend request to others.

  2. You receive a friend request from others.

onFriendApplicationListDeleted

You will receive this callback in the following cases:

  1. You call deleteFriendApplication to proactively delete a friend request.

  2. You call refuseFriendApplication to reject a friend request.

  3. You call acceptFriendApplication to accept a friend request and the acceptance type is V2TIM_FRIEND_ACCEPT_AGREE.

  4. 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

You will receive this callback in the following cases:

  1. You delete a friend (received for one-way or two-way friend deletion).

  2. 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.

results matching ""

    No results matching ""