V2TimFriendshipListener constructor

V2TimFriendshipListener({
  1. OnFriendApplicationListAddedCallback? onFriendApplicationListAdded,
  2. OnFriendApplicationListDeletedCallback? onFriendApplicationListDeleted,
  3. OnFriendApplicationListReadCallback? onFriendApplicationListRead,
  4. OnFriendListAddedCallback? onFriendListAdded,
  5. OnFriendListDeletedCallback? onFriendListDeleted,
  6. OnBlackListAddCallback? onBlackListAdd,
  7. OnBlackListDeletedCallback? onBlackListDeleted,
  8. OnFriendInfoChangedCallback? onFriendInfoChanged,
  9. OnOfficialAccountSubscribed? onOfficialAccountSubscribed,
  10. OnOfficialAccountUnsubscribed? onOfficialAccountUnsubscribed,
  11. OnOfficialAccountDeleted? onOfficialAccountDeleted,
  12. OnOfficialAccountInfoChanged? onOfficialAccountInfoChanged,
  13. OnMyFollowingListChanged? onMyFollowingListChanged,
  14. OnMyFollowersListChanged? onMyFollowersListChanged,
  15. OnMutualFollowersListChanged? onMutualFollowersListChanged,
})

Implementation

V2TimFriendshipListener({
  OnFriendApplicationListAddedCallback? onFriendApplicationListAdded,
  OnFriendApplicationListDeletedCallback? onFriendApplicationListDeleted,
  OnFriendApplicationListReadCallback? onFriendApplicationListRead,
  OnFriendListAddedCallback? onFriendListAdded,
  OnFriendListDeletedCallback? onFriendListDeleted,
  OnBlackListAddCallback? onBlackListAdd,
  OnBlackListDeletedCallback? onBlackListDeleted,
  OnFriendInfoChangedCallback? onFriendInfoChanged,
  OnOfficialAccountSubscribed? onOfficialAccountSubscribed,
  OnOfficialAccountUnsubscribed? onOfficialAccountUnsubscribed,
  OnOfficialAccountDeleted? onOfficialAccountDeleted,
  OnOfficialAccountInfoChanged? onOfficialAccountInfoChanged,
  OnMyFollowingListChanged? onMyFollowingListChanged,
  OnMyFollowersListChanged? onMyFollowersListChanged,
  OnMutualFollowersListChanged? onMutualFollowersListChanged,
}) {
  if (onFriendApplicationListAdded != null) {
    this.onFriendApplicationListAdded = onFriendApplicationListAdded;
  }
  if (onFriendApplicationListDeleted != null) {
    this.onFriendApplicationListDeleted = onFriendApplicationListDeleted;
  }
  if (onFriendApplicationListRead != null) {
    this.onFriendApplicationListRead = onFriendApplicationListRead;
  }
  if (onFriendListAdded != null) {
    this.onFriendListAdded = onFriendListAdded;
  }
  if (onFriendListDeleted != null) {
    this.onFriendListDeleted = onFriendListDeleted;
  }
  if (onBlackListAdd != null) {
    this.onBlackListAdd = onBlackListAdd;
  }
  if (onBlackListDeleted != null) {
    this.onBlackListDeleted = onBlackListDeleted;
  }
  if (onFriendInfoChanged != null) {
    this.onFriendInfoChanged = onFriendInfoChanged;
  }

  if (onOfficialAccountSubscribed != null) {
    this.onOfficialAccountSubscribed = onOfficialAccountSubscribed;
  }
  if (onOfficialAccountUnsubscribed != null) {
    this.onOfficialAccountUnsubscribed = onOfficialAccountUnsubscribed;
  }
  if (onOfficialAccountDeleted != null) {
    this.onOfficialAccountDeleted = onOfficialAccountDeleted;
  }
  if (onOfficialAccountInfoChanged != null) {
    this.onOfficialAccountInfoChanged = onOfficialAccountInfoChanged;
  }
  if (onMyFollowingListChanged != null) {
    this.onMyFollowingListChanged = onMyFollowingListChanged;
  }
  if (onMyFollowersListChanged != null) {
    this.onMyFollowersListChanged = onMyFollowersListChanged;
  }
  if (onMutualFollowersListChanged != null) {
    this.onMutualFollowersListChanged = onMutualFollowersListChanged;
  }
}