node-switchbot
Preparing search index...
LockCommands
Interface LockCommands
interface
LockCommands
{
getLockInfo
?:
()
=>
Promise
<
Record
<
string
,
unknown
>
>
;
lock
:
()
=>
Promise
<
boolean
>
;
offLockNotification
?:
(
handler
:
(
payload
:
Buffer
)
=>
void
)
=>
void
;
onLockNotification
?:
(
handler
:
(
payload
:
Buffer
)
=>
void
)
=>
Promise
<
void
>
;
unlock
:
()
=>
Promise
<
boolean
>
;
unlockWithoutUnlatch
?:
()
=>
Promise
<
boolean
>
;
}
Implemented by
WoSmartLock
WoSmartLockPro
Index
Properties
get
Lock
Info?
lock
off
Lock
Notification?
on
Lock
Notification?
unlock
unlock
Without
Unlatch?
Properties
Optional
get
Lock
Info
getLockInfo
?:
()
=>
Promise
<
Record
<
string
,
unknown
>
>
lock
lock
:
()
=>
Promise
<
boolean
>
Optional
off
Lock
Notification
offLockNotification
?:
(
handler
:
(
payload
:
Buffer
)
=>
void
)
=>
void
Optional
on
Lock
Notification
onLockNotification
?:
(
handler
:
(
payload
:
Buffer
)
=>
void
)
=>
Promise
<
void
>
unlock
unlock
:
()
=>
Promise
<
boolean
>
Optional
unlock
Without
Unlatch
unlockWithoutUnlatch
?:
()
=>
Promise
<
boolean
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
get
Lock
Info
lock
off
Lock
Notification
on
Lock
Notification
unlock
unlock
Without
Unlatch
node-switchbot
Loading...