onFriendListChanged property
(void Function(ZIM zim, List<ZIMFriendInfo> friendInfoList, ZIMFriendListChangeAction action)?)
onFriendListChanged
getter/setter pair
Supported versions: 2.14.0 and above.
Detail description: his method will be called back when changes occur in the friend list.
When to call: After creating a ZIM instance through create
.
Related APIs: addFriend
.
Implementation
static void Function(ZIM zim, List<ZIMFriendInfo> friendInfoList ,ZIMFriendListChangeAction action)? onFriendListChanged;