Binding and authorization
Binding and authorization
Push messages for device binding, sharing, and authorization; types outside the capability event index are in the legacy push type table. Device custody (terminal-user warrant) is not offered on the overseas platform—do not expect warrantInit or custody APIs here.
Legacy msgType values such as bindDevice are not capabilityEvent. Configure setMessageCallback with the callbackFlag categories that include the push classes you need (for example alarm for many legacy device messages). See Receive device messages.
Each stub links to the matching capability event reference (outputData tables and samples). Concepts: Capability usage; push payload: Receive alarm messages. Full index: Event types.
No msgType rows in the event index belong in this category; binding/sharing push types are in the table below or Event message types.
Push types (legacy push type table)
| Description | type value | Notes |
|---|---|---|
| Bind device | bindDevice | See Event message types |
| Unbind device | unbindDevice | |
| Device share | deviceShare | |
| Device authorize | deviceAuthorize | |
| Authorization data changed | deviceAuthorizationChanged | |
| Device share removed | deviceShareCancel |
