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
      • Audio
      • Media
      • Network
      • Power
      • Privacy
        • Lens cover
          • privacy.cover.enabled (Read privacy mode switch)
          • privacy.cover.enabled (Set privacy mode switch)
          • privacy.cover.plan (Read privacy mode schedule)
          • privacy.cover.plan (Set privacy mode schedule)
          • privacy.cover.timePoints (Read privacy arming times (time-point mode))
          • privacy.cover.timePoints (Set privacy arming times (time-point mode))
        • Person mask
      • 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
Scope
Reader notes
Index in this folder

Lens cover

Lens cover

Scope

Some leaves apply only on certain models; plans, schedules, and mask settings follow device.capability.list and read-back.

Permission Config. Channel scope.

Besides property get/set, switch changes may also produce openCamera / closeCamera messages (see Event message types). After subscribing to capabilityEvent via setMessageCallback, pushes arrive via Receive device messages.

Reader notes

Start with Using capabilities. Call device.capability.list before you use IDs on this page. See Permission codes and Capability errors.

Index in this folder

OperationID
Read privacy mode switchprivacy.cover.enabled
Set privacy mode switchprivacy.cover.enabled
Read privacy mode scheduleprivacy.cover.plan
Set privacy mode scheduleprivacy.cover.plan
Read privacy arming times (time-point mode)privacy.cover.timePoints
Set privacy arming times (time-point mode)privacy.cover.timePoints