JRTCSDK-iOS v2302.0
视频客服 API 文档
载入中...
搜索中...
未找到
JRTCGuestCallback.h
1//
2// JRTCGuestCallback.h
3// JRTCSDK
4//
5// Created by juphoon on 2019/3/28.
6// Copyright © 2019 juphoon. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "JRTCCallCenter.h"
11#import "JRTCRoom.h"
12#import "JRTCCallCenterGroupItem.h"
13#import "JRTCNotifyMessage.h"
14#import "JRTCInviter.h"
15
18
19NS_ASSUME_NONNULL_BEGIN
20
22@protocol JRTCGuestCallback <NSObject>
23
31- (void)onGetAllGroups:(NSArray <JRTCCallCenterGroupItem *> *)groups result:(bool)result;
32
46- (void)onCallStateChanged:(GuestCallStateChangeType)type incomingType:(CallIncomingType)incomingType inviter:(nullable JRTCInviter *)inviter termReason:(CallTermReason)reason;
47
55- (void)onCallQueueCount:(int)count time:(int)time DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请使用 onCallQueueCount:time:agentRinging: 替换");
56
65- (void)onCallQueueCount:(int)count time:(int)time agentRinging:(bool)agentRinging;
66
74- (void)onCallPropertyChanged:(JRTCRoomPropChangeParam *)propChangeParam;
75
82- (void)onMemberJoin:(JRTCRoomParticipant *)participant;
83
90- (void)onMemberLeave:(JRTCRoomParticipant *)participant;
91
100- (void)onMemberUpdate:(JRTCRoomParticipant *)participant changeParam:(JRTCRoomParticipantChangeParam *)changeParam;
101
108- (void)onUrgentResultResponse:(bool)agree;
109
120- (void)onMessageReceived:(NSString *)content contentType:(NSString *)contentType messageType:(MessageType)messageType fromUserId:(NSString *)fromUserId;
121
128- (void)onHoldStateChanged:(bool)hold;
129
138- (void)onCallTypeChanged:(CallType)callType;
139
148- (void)onSignRequest:(NSString *)fromUserId extraInfo:(nullable NSString *)extraInfo;
149
157- (void)onOnewayVideoChanged:(bool)turnOn;
158
169- (void)onDeliveryAbort:(bool)isShutDown deliveryUserId:(NSString *)deliveryUserId reason:(NSString *)reason;
170
177- (void)onCallForwarding;
178
186- (void)onNotifyMessageReceived:(JRTCNotifyMessage *)notifyMessage fromUserId:(NSString *)fromUserId;
187
188@end
189
190NS_ASSUME_NONNULL_END
191
CallTermReason
Definition: JRTCCallCenter.h:19
GuestCallStateChangeType
Definition: JRTCCallCenter.h:233
CallIncomingType
Definition: JRTCCallCenter.h:165
CallType
Definition: JRTCCallCenter.h:59
MessageType
Definition: JRTCCallCenter.h:116
业务信息
Definition: JRTCCallCenterGroupItem.h:18
邀请者
Definition: JRTCInviter.h:17
事件通知
Definition: JRTCNotifyMessage.h:19
Definition: JRTCRoomParticipant.h:53
Definition: JRTCRoomParticipant.h:114
Definition: JRTCRoom.h:31