ChatContactEventHandler constructor
ChatContactEventHandler({})
~english The contact updates listener callback.
Param onContactAdded
Current user is added as a contact by another user.
Param onContactDeleted
Current user is removed from the contact list by another user.
Param onContactInvited
Current user receives a friend request.
Param onFriendRequestAccepted
A friend request is approved.
Param onFriendRequestDeclined
A friend request is declined.
~end
~chinese 联系人事件监听。
Param onContactAdded
添加好友回调。
Param onContactDeleted
删除好友回调。
Param onContactInvited
好友申请回调。
Param onFriendRequestAccepted
发出的好友申请被对方同意。
Param onFriendRequestDeclined
发出的好友申请被对方拒绝。
~end
Implementation
ChatContactEventHandler({
this.onContactAdded,
this.onContactDeleted,
this.onContactInvited,
this.onFriendRequestAccepted,
this.onFriendRequestDeclined,
});