OnBlackListAddCallback

Introduction

The callback of add new users to block list event.

Returned template

OnBlackListAddCallback = void Function(
List<V2TimFriendInfo> infoList
)

Return value details

name type description
infoList List< V2TimFriendInfo > The list of newly added users.

Code example

    V2TimFriendshipListener listener = V2TimFriendshipListener(
      onBlackListAdd: (List<V2TimFriendInfo> infoList) async {
      }
    );
    TencentImSDKPlugin.v2TIMManager
        .getFriendshipManager()
        .addFriendListener(listener: listener);

results matching ""

    No results matching ""