HyphenateSDK  3.6.1
EMChatManagerDelegate.h
1 
15 #import <Foundation/Foundation.h>
16 
17 @class EMMessage;
18 @class EMError;
19 
27 @protocol EMChatManagerDelegate <NSObject>
28 
29 @optional
30 
31 #pragma mark - Conversation
32 
44 - (void)conversationListDidUpdate:(NSArray *)aConversationList;
45 
46 #pragma mark - Message
47 
59 - (void)messagesDidReceive:(NSArray *)aMessages;
60 
72 - (void)cmdMessagesDidReceive:(NSArray *)aCmdMessages;
73 
85 - (void)messagesDidRead:(NSArray *)aMessages;
86 
98 - (void)messagesDidDeliver:(NSArray *)aMessages;
99 
111 - (void)messagesDidRecall:(NSArray *)aMessages;
112 
126 - (void)messageStatusDidChange:(EMMessage *)aMessage
127  error:(EMError *)aError;
128 
142 - (void)messageAttachmentStatusDidChange:(EMMessage *)aMessage
143  error:(EMError *)aError;
144 
145 #pragma mark - Deprecated methods
146 
158 - (void)didUpdateConversationList:(NSArray *)aConversationList __deprecated_msg("Use -conversationListDidUpdate:");
159 
171 - (void)didReceiveMessages:(NSArray *)aMessages __deprecated_msg("Use -messagesDidReceive:");
172 
184 - (void)didReceiveCmdMessages:(NSArray *)aCmdMessages __deprecated_msg("Use -cmdMessagesDidReceive:");
185 
197 - (void)didReceiveHasReadAcks:(NSArray *)aMessages __deprecated_msg("Use -messagesDidRead:");
198 
210 - (void)didReceiveHasDeliveredAcks:(NSArray *)aMessages __deprecated_msg("Use -messagesDidDeliver:");
211 
225 - (void)didMessageStatusChanged:(EMMessage *)aMessage
226  error:(EMError *)aError __deprecated_msg("Use -messageStatusDidChange:error");
227 
241 - (void)didMessageAttachmentsStatusChanged:(EMMessage *)aMessage
242  error:(EMError *)aError __deprecated_msg("Use -messageAttachmentStatusDidChange:error");
243 @end
Definition: EMChatManagerDelegate.h:27
Definition: EMError.h:26
Definition: EMMessage.h:65