视频通话插件 - iOS
v2601.0
Toggle main menu visibility
载入中...
搜索中...
未找到
JCCGuestPlugin
JCCGuestPlugin
Public
JCCCommonCallback.h
1
//
2
// JCCCommonCallback.h
3
// JCCGuestPlugin
4
//
5
// Created by mirror on 2022/5/24.
6
// Copyright © 2022 juphoon. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
#import <JCCGuestPlugin/JCCConstants.h>
11
12
NS_ASSUME_NONNULL_BEGIN
13
16
18
@protocol
JCCCommonCallback <NSObject>
19
25
- (void)onLogin:(BOOL)result reason:(
JCCReasonCode
)reason;
26
32
- (void)onLogout:(
JCCReasonCode
)reason;
33
41
- (void)onOnlineMessageSendResult:(BOOL)result operatorId:(
int
)operatorId;
42
48
- (void)onOnlineMessageReceived:(NSString *)message userId:(NSString *)userId;
49
50
56
- (void)onUploadFileResult:(NSString *)fileName response:(NSDictionary *)response;
57
63
- (void)onUploadFileError:(NSString *)fileName error:(NSError *)error;
64
71
- (void)onMessageInCallReceived:(NSString *)type content:(NSString *)content fromUserId:(NSString *)fromUserId;
72
83
- (void)onMessageSendResult:(
int
)operatorId result:(
bool
)result error:(JRTCError *)error;
84
92
- (void)onError:(NSString *)errorCode errorCodeDetail:(NSString *)errorCodeDetail;
93
100
- (void)onSystemPhoneStateChanged:(SystemPhoneState)newState oldState:(SystemPhoneState)oldState;
101
102
@optional
103
111
- (BOOL)onViewEvent:(
JCCViewEvent
)viewEvent;
112
113
@end
114
116
117
NS_ASSUME_NONNULL_END
JCCViewEvent
JCCViewEvent
UI 事件类型枚举
定义
JCCConstants.h:287
JCCReasonCode
JCCReasonCode
登录登出原因枚举
定义
JCCConstants.h:76
制作者
1.17.0