HyphenateChatSDK  3.8.3.1
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 
112 - (void)userAccountDidForcedToLogout:(EMError *)aError;
113 
114 #pragma mark - Deprecated methods
115 
135 - (void)didConnectionStateChanged:(EMConnectionState)aConnectionState __deprecated_msg("Use -connectionStateDidChange:");
136 
148 - (void)didAutoLoginWithError:(EMError *)aError __deprecated_msg("Use -autoLoginDidCompleteWithError:");
149 
157 - (void)didLoginFromOtherDevice __deprecated_msg("Use -userAccountDidLoginFromOtherDevice");
158 
166 - (void)didRemovedFromServer __deprecated_msg("Use -userAccountDidRemoveFromServer");
167 
168 @end
Definition: EMError.h:27
Definition: EMClientDelegate.h:38
"Use -userAccountDidLoginFromOtherDevice" __deprecated_msg()
void userAccountDidRemoveFromServer()
void userAccountDidLoginFromOtherDevice()