getBoundFitList()

Requires:
@ray-js/lock-sdk≥1.2.0

Description

Get the list of accessories currently bound to the lock.

Parameters

None

Return Value

Type: Promise<BoundFitLockItem[]>
List of bound accessories
BoundFitLockItem
PropertyTypeDescription
bindingIdstringBinding ID
devNamestringDevice name
fittingNamestringAccessory name
devIdstringDevice ID
devUnlockIdstringDevice unlock ID
devUuidstringDevice UUID
fittingIdstringAccessory ID
fittingUnlockIdstringAccessory unlock ID
iconstringIcon
isSupportScybooleanSupports scy
onlinebooleanWhether online
protocolVersionstringProtocol version
randomStrstringRandom string

Examples

import { getBoundFitList } from '@ray-js/lock-sdk';
const fitList = getBoundFitList();
console.log(fitList);