HyphenateSDK  3.6.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 
110 - (void)userAccountDidForcedToLogout:(EMError *)aError;
111 
112 #pragma mark - Deprecated methods
113 
133 - (void)didConnectionStateChanged:(EMConnectionState)aConnectionState __deprecated_msg("Use -connectionStateDidChange:");
134 
146 - (void)didAutoLoginWithError:(EMError *)aError __deprecated_msg("Use -autoLoginDidCompleteWithError:");
147 
155 - (void)didLoginFromOtherDevice __deprecated_msg("Use -userAccountDidLoginFromOtherDevice");
156 
164 - (void)didRemovedFromServer __deprecated_msg("Use -userAccountDidRemoveFromServer");
165 
166 @end
void userAccountDidLoginFromOtherDevice()
void userAccountDidRemoveFromServer()
Definition: EMError.h:26
Definition: EMClientDelegate.h:38
"Use -userAccountDidLoginFromOtherDevice" __deprecated_msg()