座席回调
更多...
#import <JCAgentCallback.h>
◆ onApply:result:
- (void) onApply: |
|
(int) |
operationId |
result: |
|
(bool) |
result |
|
|
| |
|
optional |
示忙示闲的结果
- 注解
- 可以通过pause获取当前的忙闲状态
- 参数
-
◆ onCallerWaitTimeNotify:
- (void) onCallerWaitTimeNotify: |
|
(int) |
time |
|
|
optional |
◆ onCallPropertyChange:
◆ onCallQueryWaitCount:
- (void) onCallQueryWaitCount: |
|
(int) |
count |
|
|
optional |
◆ onCallStateChanged:participant:reason:
◆ onCallTypeTurnedNotify:
◆ onCheckin:pause:onlineTime:breakTime:callTimes:reason:
- (void) onCheckin: |
|
(bool) |
result |
pause: |
|
(bool) |
pause |
onlineTime: |
|
(long) |
onlineTime |
breakTime: |
|
(long) |
breakTime |
callTimes: |
|
(long) |
callTimes |
reason: |
|
(int) |
reason |
|
|
| |
|
optional |
签入结果
- 参数
-
result | 签入是否成功 |
pause | 签入后的默认状态 |
onlineTime | 坐席累计在线时长 |
breakTime | 坐席累计示忙时长 |
callTimes | 通话次数 |
reason | 签入失败原因 |
◆ onCheckinResult:
- (void) onCheckinResult: |
|
(bool) |
result |
|
|
optional |
◆ onCheckoutResult:resaon:
◆ onGetAllGroups:result:
◆ onHeldNotify:
- (void) onHeldNotify: |
|
(bool) |
held |
|
|
optional |
◆ onMemberLeave:
◆ onMemberUpdate:changeParam:
◆ onMessageReceive:content:fromUserId:
- (void) onMessageReceive: |
|
(NSString *) |
type |
content: |
|
(NSString *) |
content |
fromUserId: |
|
(NSString *) |
fromUserId |
|
|
| |
|
optional |
接收消息的回调
- 参数
-
type | 消息类型 |
content | 消息内容 |
fromUserId | 消息发送成员userId |
◆ onNewMemberJoin:
◆ onQueryAvailableAgentsListResult:result:userIds:
- (void) onQueryAvailableAgentsListResult: |
|
(int) |
operationId |
result: |
|
(bool) |
result |
userIds: |
|
(NSArray< NSString * > *) |
userIds |
|
|
| |
|
optional |
◆ onTextMessageRecvNotify:fromUserId:
- (void) onTextMessageRecvNotify: |
|
(NSString *) |
content |
fromUserId: |
|
(NSString *) |
userId |
|
|
| |
|
optional |
◆ onTransferResult:result:
- (void) onTransferResult: |
|
(int) |
operationId |
result: |
|
(bool) |
result |
|
|
| |
|
optional |
◆ onUrgentRequestRecv:callerNumber:
- (void) onUrgentRequestRecv: |
|
(NSString *) |
serialNumber |
callerNumber: |
|
(NSString *) |
callerNumber |
|
|
| |
|
optional |
收到加急请求
- 参数
-
serialNumber | 业务唯一标识 |
callerNumber | 发起加急的号码 |
◆ onUrgentResponseResult:cookie:
- (void) onUrgentResponseResult: |
|
(BOOL) |
result |
cookie: |
|
(int) |
cookie |
|
|
| |
|
optional |