fitCancelAddUnlockMethod(params: FitCancelAddUnlockMethodParams)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Cancel the in-progress add-unlock-method process on the accessory side
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Cancel parameters (same as at start) |
Return Value
Type: Promise<void>
None
Error Code
| Error Code | Error Message |
|---|---|
1052 | Previous operation on the same accessory is still in progress |
1014 | This unlock method type is not supported |
1001 | Device is offline |
1002 | Operation timed out |
Valid Values
FitCancelAddUnlockMethodParams.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |