Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
      • Common methods
      • Detection and alarms
      • Image
      • PTZ
      • Light
      • Recording
        • Recording events
          • record.event.detected (Standard event delivery)
        • Local recordings
        • Plan
        • Playback
        • Timelapse
      • Audio
      • Media
      • Network
      • Power
      • Privacy
      • Call
      • Storage
      • System
      • Algorithm
      • Maintenance
      • Control
    • Events overview
    • Permission codes
    • Capability error codes
    • Alarm and capability messages
    • Capability FAQ
    • Legacy ability and push types
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
What it does
Reported fields
Example
Minimum permission

record.event.detected (Standard event delivery)

record.event.detected: Standard event delivery

record.event.detected · channel scope · message query permission RecordReplay

What it does

Standard pushes use capabilityEvent and this page’s msgType; some models may also emit legacy msg_type values—see device.capability.list and the event catalog.

Reported when a standard event is delivered. The payload msgType is record.event.detected. Subscribe to capabilityEvent in callbackFlag via setMessageCallback. For the real-time push payload, see Device messages.

Reported fields

No extra fields. Platform fields are described in Overview and common payload.

Example

{
 "msgType": "record.event.detected",
 "deviceId": "TESTIPC000012345",
 "productId": "56WGTET2",
 "channelId": "0",
 "outputData": {},
 "time": 1673406989,
 "localTime": "20230111T111629",
 "alarmId": "116257862023505xxxx"
}

Minimum permission

The administrator does not need an extra permission on a device they bound. A shared device needs cloud recording view permission (RecordReplay). A bound sub-user does not. A sub-account needs RecordReplay. List and search filter out events you are not allowed to see. See Standard event delivery.

light.white.stop (Stop countdown white light)
record.file.cover (Get SD card recording cover property)