Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
    • Events overview
      • Event types
      • Device status
      • Binding and authorization
      • Detection and alarms
      • Doorbell and lock
      • Service events
      • Overview and common payload
      • Event message types
      • Event message format
    • 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
Key fields
Notes
Related

Algorithm package download result

Algorithm package download result algorithm.package.downloadResult

Key fields

type, dwnResult, dwnResult.ret, dwnResult.url, url (compose paths are mutually exclusive; see Capability reference Reported fields)

Notes

Subscribe to capabilityEvent in setMessageCallback. msgType matches the event ID in this page title (algorithm.package.downloadResult, same as the Event types index). For the V2 push payload (deviceId, productId, outputData, etc.), see Common payload and Receive alarm messages; this page summarizes outputData only. Query/receive requires message permission Alarm (see Message permissions).

Algorithm package compose event: outputData follows the ident the device actually reports; success/failure/default-complete field paths are mutually exclusive—do not assume one payload contains both dwnResult and a top-level url.

Related

  • Algorithm package download result (capability reference)
  • Receive alarm messages (capabilities)
  • Receive alarm messages (guide)
  • Search messages by type
  • Event types