getBoundLockList()
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Get the list of locks bound to the current accessory; each item includes a security version compatibility check
Parameters
None
Return Value
Type: Promise<BoundLockListItem[]>
List of bound locks
BoundLockListItem
| Property | Type | Description |
|---|---|---|
securityVersionMismatch | boolean | Whether the lock’s security version is incompatible with the accessory (the lock supports the security version but the accessory has not enabled the secure channel) |
securityNeedUpdate | boolean | Whether the lock needs to be "activated" (re-provision security keys) |
bindingId | string | Binding ID |
devName | string | Device name |
fittingName | string | Accessory name |
devId | string | Device ID |
devUnlockId | string | Device unlock ID |
devUuid | string | Device UUID |
fittingId | string | Accessory ID |
fittingUnlockId | string | Accessory unlock ID |
icon | string | Icon |
isSupportScy | boolean | Whether scy is supported |
online | boolean | Whether online |
protocolVersion | string | Protocol version |
randomStr | string | Random string |