HyphenateSDK  3.6.1
EMContactManagerDelegate.h
1 
15 #import <Foundation/Foundation.h>
16 
17 @class EMError;
18 
26 @protocol EMContactManagerDelegate <NSObject>
27 
28 @optional
29 
43 - (void)friendRequestDidApproveByUser:(NSString *)aUsername;
44 
58 - (void)friendRequestDidDeclineByUser:(NSString *)aUsername;
59 
73 - (void)friendshipDidRemoveByUser:(NSString *)aUsername;
74 
88 - (void)friendshipDidAddByUser:(NSString *)aUsername;
89 
105 - (void)friendRequestDidReceiveFromUser:(NSString *)aUsername
106  message:(NSString *)aMessage;
107 
108 #pragma mark - Deprecated methods
109 
121 - (void)didReceiveAgreedFromUsername:(NSString *)aUsername __deprecated_msg("Use -friendRequestDidApproveByUser:");
122 
134 - (void)didReceiveDeclinedFromUsername:(NSString *)aUsername __deprecated_msg("Use -friendRequestDidDeclineByUser:");
135 
147 - (void)didReceiveDeletedFromUsername:(NSString *)aUsername __deprecated_msg("Use -friendshipDidRemoveByUser:");
148 
160 - (void)didReceiveAddedFromUsername:(NSString *)aUsername __deprecated_msg("Use -friendshipDidAddByUser:");
161 
175 - (void)didReceiveFriendInvitationFromUsername:(NSString *)aUsername
176  message:(NSString *)aMessage __deprecated_msg("Use -friendRequestDidReceiveFromUser:message:");
177 
178 
179 @end
Definition: EMError.h:26
Definition: EMContactManagerDelegate.h:26