九五云客服电话条集成开发手册 文档编号:HL-CC-026
目录
1 前言 ..............................................................................................................................................4
1.1 预期读者 ...........................................................................................................................4
1.2 使用指南 ...........................................................................................................................4
1.3 开发模式 ...........................................................................................................................4
1.4 术语 ...................................................................................................................................4
2 PhoneBar........................................................................................................................................5
2.1 引用文件 ...........................................................................................................................5
2.2 创建组件 ...........................................................................................................................6
2.2.1 属性 ........................................................................................................................6
2.3 组件方法 ...........................................................................................................................8
2.3.1 Destroy(销毁组件)...................................................................................................8
2.3.2 按钮组件 ................................................................................................................8
2.4 事件 ...................................................................................................................................9
2.4.1 onAgentStatusChange (坐席状态变更)...................................................................9
2.4.2 onScreenPopup (弹屏事件).....................................................................................9
2.4.3 onRinging (振铃事件) ............................................................................................10
2.4.4 onTalking (接通事件).............................................................................................10
2.4.5 onHangup(挂机事件) ............................................................................................11
2.4.6 onLinkDisconnected (与服务器断开连接) ............................................................11
2.5 坐席 api ...........................................................................................................................12
2.5.1 坐席状态 ..............................................................................................................12
2.5.2 电话指令 ..............................................................................................................13
2.6 可定制方法 .....................................................................................................................18
2.6.1 工具库 ..................................................................................................................18
2.6.2 日志 ......................................................................................................................19
2.7 密码加密 .........................................................................................................................19
2.7.1 普通加密 ..............................................................................................................23
2.7.2 随机码混淆加密...................................................................................................24
3 九五云客服监控 SDK .................................................................................................................25
3.1 引用文件 .........................................................................................................................25
3.2 集成 .................................................................................................................................25
3.2.1 使用九五云客服话条 SDK PhoneBar 集成..........................................................25
3.2.2 使用自定义话条集成...........................................................................................25