V2TimFriendshipListener constructor
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,
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;
}
}