TIMFriendshipListener Protocol Reference

Conforms to NSObject
Declared in TIMCallback.h

Overview

好友代理事件回调

– onAddFriends:

添加好友通知

- (void)onAddFriends:(NSArray *)users

Parameters

users

好友列表(NSString*)

Declared In

TIMCallback.h

– onDelFriends:

删除好友通知

- (void)onDelFriends:(NSArray *)identifiers

Parameters

identifiers

用户id列表(NSString*)

Declared In

TIMCallback.h

– onFriendProfileUpdate:

好友资料更新通知

- (void)onFriendProfileUpdate:(NSArray<TIMSNSChangeInfo*> *)profiles

Parameters

profiles

资料列表(TIMSNSChangeInfo *)

Declared In

TIMCallback.h

– onAddFriendReqs:

好友申请通知

- (void)onAddFriendReqs:(NSArray<TIMFriendPendencyInfo*> *)reqs

Parameters

reqs

好友申请者id列表(TIMFriendPendencyInfo *)

Declared In

TIMCallback.h