AgoraChatSDK 1.0.7
AgoraChatClientDelegate.h
1
15#import <Foundation/Foundation.h>
16#import "AgoraChatErrorCode.h"
17
25typedef NS_ENUM(NSInteger, AgoraChatConnectionState) {
26 AgoraChatConnectionConnected = 0,
30 AgoraChatConnectionDisconnected,
34};
35
36@class AgoraChatError;
37
45@protocol AgoraChatClientDelegate <NSObject>
46
47@optional
48
68- (void)connectionStateDidChange:(AgoraChatConnectionState)aConnectionState;
69
81- (void)autoLoginDidCompleteWithError:(AgoraChatError * _Nullable)aError;
82
91
100
109
125- (void)userAccountDidForcedToLogout:(AgoraChatError *_Nullable)aError;
126
134- (void)tokenWillExpire:(AgoraChatErrorCode)aErrorCode;
135
143- (void)tokenDidExpire:(AgoraChatErrorCode)aErrorCode;
144
145@end
Definition: AgoraChatError.h:27
Definition: AgoraChatClientDelegate.h:45