9#import <Foundation/Foundation.h>
10#import "JRTCCallCenter.h"
12#import "JRTCCallCenterGroupItem.h"
13#import "JRTCNotifyMessage.h"
14#import "JRTCInviter.h"
19NS_ASSUME_NONNULL_BEGIN
22@protocol JRTCAgentCallback <NSObject>
47- (void)onCheckin:(
bool)result pause:(
bool)pause reason:(NSString *)reason;
64- (void)onCheckIn:(
bool)result pause:(
bool)pause onlineTime:(
long)onlineTime breakTime:(
long)breakTime callTimes:(
long)callTimes reason:(
int)reason DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用onCheckin:pause:reason:代替");
104- (void)onCallQueryWaitCount:(
int)count;
116- (void)onApplyResult:(
int)operationId result:(
bool)result;
127- (void)onTransferCallResult:(
int)operationId result:(
bool)result;
172- (void)onUrgentRequest:(NSString *)serialNumber callerNumber:(NSString *)callerNumber;
182- (void)onResponseUrgentResult:(
bool)result cookie:(
int)cookie;
194- (void)onQueryAvailableAgentList:(
int)operationId result:(
bool)result userIds:(NSArray <NSString *> *)userIds;
207- (void)onMessageReceived:(NSString *)content contentType:(NSString *)contentType messageType:(
MessageType)messageType fromUserId:(NSString *)fromUserId;
215- (void)onHoldStateChanged:(
bool)hold;
225- (void)onCallTypeChanged:(
CallType)callType;
237- (void)onDeliveryAbort:(
bool)isShutDown deliveryUserId:(NSString *)deliveryUserId reason:(NSString *)reason;
247- (void)onInviteThirdAgentResult:(
bool)result error:(NSString *)error;
258- (void)onInviteThirdGuestResult:(
bool)result userId:(NSString *)userId error:(NSString *)error;
267- (void)onNotifyMessageReceived:(
JRTCNotifyMessage *)notifyMessage fromUserId:(NSString *)fromUserId;
276- (void)onOnewayVideoChanged:(
bool)turnOn;
289- (void)onSignResultResponse:(
bool)result fromUserId:(NSString *)fromUserId extraInfo:(NSString *)extraInfo;
300- (void)onSwitchPartRoleResult:(
bool)result operationId:(
long)operationId error:(NSString *)error;
311- (void)onKickParticipantResult:(
bool)result operationId:(
long)operationId error:(NSString *)error;
CallTermReason
Definition: JRTCCallCenter.h:19
CallIncomingType
Definition: JRTCCallCenter.h:165
CallType
Definition: JRTCCallCenter.h:59
MessageType
Definition: JRTCCallCenter.h:116
AgentCheckoutReason
Definition: JRTCCallCenter.h:191
AgentCallStateChangeType
Definition: JRTCCallCenter.h:149
AgentOperatorState
Definition: JRTCCallCenter.h:207
业务信息
Definition: JRTCCallCenterGroupItem.h:18
邀请者
Definition: JRTCInviter.h:17
事件通知
Definition: JRTCNotifyMessage.h:19
Definition: JRTCRoomParticipant.h:53
Definition: JRTCRoomParticipant.h:114
Definition: JRTCRoom.h:31