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

onFriendListAdded

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 : 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

results matching ""

    No results matching ""