HyphenateChatSDK  3.8.4
EMClientDelegate.h
1 
15 #import <Foundation/Foundation.h>
16 
24 typedef enum {
25  EMConnectionConnected = 0,
26  EMConnectionDisconnected,
27 } EMConnectionState;
28 
29 @class EMError;
30 
38 @protocol EMClientDelegate <NSObject>
39 
40 @optional
41 
57 - (void)connectionStateDidChange:(EMConnectionState)aConnectionState;
58 
70 - (void)autoLoginDidCompleteWithError:(EMError *)aError;
71 
80 
89 
97 - (void)userDidForbidByServer;
98 
114 - (void)userAccountDidForcedToLogout:(EMError *)aError;
115 
116 #pragma mark - Deprecated methods
117 
137 - (void)didConnectionStateChanged:(EMConnectionState)aConnectionState __deprecated_msg("Use -connectionStateDidChange:");
138 
150 - (void)didAutoLoginWithError:(EMError *)aError __deprecated_msg("Use -autoLoginDidCompleteWithError:");
151 
159 - (void)didLoginFromOtherDevice __deprecated_msg("Use -userAccountDidLoginFromOtherDevice");
160 
168 - (void)didRemovedFromServer __deprecated_msg("Use -userAccountDidRemoveFromServer");
169 
170 @end
Definition: EMError.h:27
Definition: EMClientDelegate.h:38
"Use -userAccountDidLoginFromOtherDevice" __deprecated_msg()
void userAccountDidRemoveFromServer()
void userAccountDidLoginFromOtherDevice()