getUnbindLockList()
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Get the list of locks that can be bound to the current accessory; each item includes a bindability check
Parameters
None
Return Value
Type: Promise<UnbindLockListItem[]>
List of bindable locks
UnbindLockListItem
| Property | Type | Description |
|---|---|---|
bindable | boolean | Whether this lock can be bound to the current accessory (both protocol and security versions match) |
unbindableReason | "ble_version_mismatch" | "security_version_mismatch" | Reason not bindable; not present when `bindable` is true |
devName | string | Device 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 |
Valid Values
return.unbindableReason
| Value | Description | Since |
|---|---|---|
ble_version_mismatch | - | - |
security_version_mismatch | - | - |