OnFriendApplicationListAddedCallback
Introduction
The callback of the amount increased of the friend application list event.
Returned template
OnFriendApplicationListAddedCallback = void Function(
List<V2TimFriendApplication> applicationList
)
Return value details
name | type | description |
---|---|---|
applicationList | List< V2TimFriendApplication > | The latest application list. |
Code example
V2TimFriendshipListener listener = V2TimFriendshipListener(
onFriendApplicationListAdded:
(List<V2TimFriendApplication> applicationList) async {
}
);
TencentImSDKPlugin.v2TIMManager
.getFriendshipManager()
.addFriendListener(listener: listener);