15 #import <Foundation/Foundation.h>
16 #import "EMErrorCode.h"
17 #import "EMCommonDefs.h"
26 typedef NS_ENUM(NSInteger, EMConnectionState) {
27 EMConnectionConnected = 0,
31 EMConnectionDisconnected,
69 - (void)connectionStateDidChange:(EMConnectionState)aConnectionState;
82 - (void)autoLoginDidCompleteWithError:(
EMError * _Nullable)aError;
95 - (void)userAccountDidLoginFromOtherDevice:(NSString* _Nullable)aDeviceName;
130 - (void)userAccountDidForcedToLogout:(
EMError *_Nullable)aError;
139 - (void)tokenWillExpire:(EMErrorCode)aErrorCode;
148 - (void)tokenDidExpire:(EMErrorCode)aErrorCode;
150 #pragma mark - EM_DEPRECATED_IOS 4.1.0
158 - (void)userAccountDidLoginFromOtherDevice
EM_DEPRECATED_IOS(3_1_0, 4_1_0, "Use userAccountDidLoginFromOtherDevice: instead");
void userAccountDidRemoveFromServer()
Definition: EMClientDelegate.h:46
3_1_0, 4_1_0,"Use userAccountDidLoginFromOtherDevice: instead" EM_DEPRECATED_IOS()
void userDidForbidByServer()