1 //
2 // JCClientCallback.h
3 // JCSDK-OC
4 //
5 // Created by maikireton on 2017/8/10.
6 // Copyright © 2017年 juphoon. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "JCClientConstants.h"
11 
20 @protocol JCClientCallback <NSObject>
21 
32 -(void)onLogin:(bool)result reason:(JCClientReason)reason;
33 
41 -(void)onLogout:(JCClientReason)reason;
42 
56 -(void)onClientStateChange:(JCClientState)state oldState:(JCClientState)oldState;
57 
64 -(void)onOnlineMessageSend:(int)operationId result:(bool)result;
65 
72 -(void)onOnlineMessageReceive:(NSString *)userId content:(NSString *)content;
73 
74 
75 @end
76 
最后更新时间: 2023/4/28 11:17:11