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;
156 - (void)tokenWillExpire:(EMErrorCode)aErrorCode;
165 - (void)tokenDidExpire:(EMErrorCode)aErrorCode;
185 #pragma mark - EM_DEPRECATED_IOS 4.1.0
193 - (void)userAccountDidLoginFromOtherDevice
EM_DEPRECATED_IOS(3_1_0, 4_1_0, "Use userAccountDidLoginFromOtherDevice: instead");
void userAccountDidRemoveFromServer()
Definition: EMClientDelegate.h:47
void onOfflineMessageSyncStart()
Definition: EMLoginExtensionInfo.h:13
void onOfflineMessageSyncFinish()
3_1_0, 4_1_0,"Use userAccountDidLoginFromOtherDevice: instead" EM_DEPRECATED_IOS()
void userDidForbidByServer()