onFitAddUnlockMethod(listener: FitAddUnlockMethodListener)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Register an accessory-side listener for add-unlock-method steps
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Event listener |
Return Value
Type: void
None
Valid Values
FitStepEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |
FitSuccessEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |
FitErrorEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |