fcc-core
Version:
Fusion communication center.
98 lines (97 loc) • 2.99 kB
JavaScript
class EventTypes {
constructor () {
this.OnOffLineNotice = {
name: '上线 / 下线通知事件', // 事件的中文名
module: 'system' // 事件所属功能模块
}
this.OnDropped = {
name: '连接异常中断事件', // 事件的中文名
module: 'system' // 事件所属功能模块
}
this.OnReconnect = {
name: '自动重连成功事件', // 事件的中文名
module: 'system' // 事件所属功能模块
}
this.OnMemberStatusChange = {
name: '人员状态变化',
module: 'system'
}
this.OnMemberLocationChange = {
name: '人员位置变化',
module: 'system'
}
this.OnDialVoiceRequest = {
name: '语音点呼来电事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnDialVoiceDropped = {
name: '语音点呼挂机事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnDialVideoRequest = {
name: '视频点呼来电事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnDialVideoDropped = {
name: '视频点呼挂机事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnDialVideoAnswer = {
name: '视频点呼接通事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnDialVoiceAnswer = {
name: '语音点呼接通事件', // 事件的中文名
module: 'pointToPointCall' // 事件所属功能模块
}
this.OnCloseMonitor = {
name: '关闭监控设备事件', // 事件的中文名
module: 'monitor' // 事件所属功能模块
}
this.OnExitMatrix = {
name: '退出矩阵监控事件', // 事件的中文名
module: 'monitor' // 事件所属功能模块
}
this.OnMeetingOver = {
name: '会议结束事件', // 事件的中文名
module: 'meeting' // 事件所属功能模块
}
this.OnAnswerSuccess = {
name: '接听成功事件',
module: 'phone'
}
this.OnAnswerRequest = {
name: '呼叫成功事件',
module: 'phone'
}
this.OnReleaseSuccess = {
name: '挂机事件',
module: 'phone'
}
this.OnLongNoAnswer = {
name: '久未应答事件',
module: 'phone'
}
this.OnMediaRecordBegin = {
name: '开始录音',
module: 'phone'
}
this.OnMediaRecordSuccess = {
name: '录音成功',
module: 'phone'
}
this.OnMediaRecordFailure = {
name: '录音失败',
module: 'phone'
}
this.OnIMRead = {
name: '对方已读',
module: 'IM'
}
this.OnIMMessage = {
name: '收到im消息',
module: 'IM'
}
}
}
export default new EventTypes()