OnFriendInfoChangedCallback

Introduction

The callback of the friend profile and information changes event.

Returned template

OnFriendInfoChangedCallback = void Function(
List<V2TimFriendInfo> infoList
)

Return value details

name type description
infoList List< V2TimFriendInfo > The latest list for friend info and profile.

Code example

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

results matching ""

    No results matching ""