onAddUnlockMethod(listener: AddUnlockMethodListener)
Requires:
@ray-js/lock-sdk≥1.0.0
Description
Register a step listener for unlocking methods
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Event listener |
Return Value
Type: void
None
Valid Values
StepEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |
SuccessEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |
ErrorEvent.type
| Value | Description | Since |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |