15 #import <Foundation/Foundation.h>
16 #import "EMErrorCode.h"
17 #import "EMCommonDefs.h"
18 #import "EMLoginExtensionInfo.h"
27 typedef NS_ENUM(NSInteger, EMConnectionState) {
28 EMConnectionConnected = 0,
32 EMConnectionDisconnected,
70 - (void)connectionStateDidChange:(EMConnectionState)aConnectionState;
83 - (void)autoLoginDidCompleteWithError:(
EMError * _Nullable)aError;
96 - (void)userAccountDidLoginFromOtherDevice:(NSString* _Nullable)aDeviceName EM_DEPRECATED_IOS(4_1_0, 4_7_0, "Use userAccountDidLoginFromOtherDeviceWithInfo: instead");
145 - (void)userAccountDidForcedToLogout:(
EMError *_Nullable)aError;
154 - (void)tokenWillExpire:(EMErrorCode)aErrorCode;
163 - (void)tokenDidExpire:(EMErrorCode)aErrorCode;
165 #pragma mark - EM_DEPRECATED_IOS 4.1.0
173 - (void)userAccountDidLoginFromOtherDevice
EM_DEPRECATED_IOS(3_1_0, 4_1_0, "Use userAccountDidLoginFromOtherDevice: instead");
void userAccountDidRemoveFromServer()
Definition: EMClientDelegate.h:47
Definition: EMLoginExtensionInfo.h:13
3_1_0, 4_1_0,"Use userAccountDidLoginFromOtherDevice: instead" EM_DEPRECATED_IOS()
void userDidForbidByServer()