rejectOpenDoor
Requires:
@ray-js/lock-sdk≥1.0.0
Method signature
rejectOpenDoor(option?: )Description
Reject remote door-open request (Wi‑Fi Pro and similar confirmation flows)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| No | Reject-to-open call options (e.g., timeout for waiting for device report) |
Return Value
Type: Promise<void>
None (resolves when done)
Error Code
| Error Code | Error Message |
|---|---|
1052 | Previous operation on the same device is still in progress |
1002 | Operation timed out |
1003 | Remote unlock failed (cloud invocation error) |
1004 | Device reported unlock failure |
1005 | Remote unlock failed (key invalidated) |
1006 | Key usage limit reached |
1007 | Key not within validity period |
1008 | Invalid key |