HyphenateChatSDK 3.9.9.1
EMClientDelegate.h
1
15#import <Foundation/Foundation.h>
16#import "EMErrorCode.h"
17
25typedef NS_ENUM(NSInteger, EMConnectionState) {
26 EMConnectionConnected = 0,
30 EMConnectionDisconnected,
34};
35
36@class EMError;
37
45@protocol EMClientDelegate <NSObject>
46
47@optional
48
68- (void)connectionStateDidChange:(EMConnectionState)aConnectionState;
69
81- (void)autoLoginDidCompleteWithError:(EMError * _Nullable)aError;
82
91
100
109
125- (void)userAccountDidForcedToLogout:(EMError *_Nullable)aError;
126
134- (void)tokenWillExpire:(EMErrorCode)aErrorCode;
135
143- (void)tokenDidExpire:(EMErrorCode)aErrorCode;
144
145@end
Definition: EMError.h:27
Definition: EMClientDelegate.h:45
void userAccountDidRemoveFromServer()
void userAccountDidLoginFromOtherDevice()