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.
