开始使用
  • English
  • 简体中文
前往官网
开始使用
  • English
  • 简体中文
前往官网
  • 开始使用
  • 核心概念
  • 开发指南
  • 设备能力与事件参考
    • 按设备类型浏览
    • 设备能力
      • 通用方法
      • 侦测与告警
        • 布撤防
        • 关注区域
        • 客流
        • 哭声
        • 离岗
        • 人脸识别
        • 跌倒
        • 手势呼叫
        • 区域入侵
        • 徘徊
        • 未成年检测
        • 人车混合
        • 动检
        • 视频遮挡
        • 车辆违停
        • 人形
        • 宠物
        • PIR
        • 车牌识别
        • 车辆守卫
        • 警笛
        • 语音呼救
        • 异常音
          • detection.sound.enabled(获取异常音开关属性)
          • detection.sound.enabled(设置异常音开关属性)
          • detection.sound.threshold(获取异常音阈值属性)
          • detection.sound.threshold(设置异常音阈值属性)
          • detection.sound.detected(异常音报警事件)
        • 越线
        • 无人出现
        • 车辆
        • 门磁
        • 防拆
        • 门控配件
        • 环境传感
        • 目标检测框
      • 图像
      • 云台
      • 灯光
      • 录像
      • 音频
      • 媒体
      • 网络
      • 电源
      • 隐私
      • 呼叫
      • 存储
      • 系统
      • 算法
      • 设备维护
      • 控制
    • 事件总览
    • 权限码
    • 错误码
    • 告警与能力消息
    • 常见问题
    • 历史能力与推送类型
  • API 参考
  • SDK 与工具
  • 方案
  • 平台与支持
本页目录
功能详情
上报字段说明
样例
最小权限
相关

detection.sound.detected(异常音报警事件)

detection.sound.detected:异常音报警事件

detection.sound.detected · 通道级 · 消息查询权限 Alarm

功能详情

标准推送以 capabilityEvent 与本页 msgType 为准;消息 list/search 亦可能命中历史 msg_type,以 device.capability.list 与消息查询为准。 事件字段见 事件专页。

异常音触发时上报。msgType 为 detection.sound.detected。收推送须订阅 capabilityEvent。见 接收设备消息、setMessageCallback、事件目录、概述与公共负载。

上报字段说明

outputData 内字段。平台字段见 公共负载。

参数名说明类型必填取值
soundType声音类型。text否字符串

样例

{
 "msgType": "detection.sound.detected",
 "deviceId": "TESTIPC000012345",
 "productId": "56WGTET2",
 "channelId": "0",
 "outputData": {
 "soundType": "设备自定义类型字符串,无固定枚举"
 },
 "time": 1673406989,
 "localTime": "20230111T111629",
 "alarmId": "116257862023505xxxx"
}

最小权限

管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。列表/检索按条过滤无权事件。

相关

  • 事件目录:异常音
  • 概述与公共负载
  • 接收设备消息
  • 异常音
detection.sound.threshold(设置异常音阈值属性)
detection.trip.enabled(获取越线检测开关属性)