getUnlockGuide(type: "finger" | "face" | "password" | "card" | "fingerVein" | "hand" | "eye")
版本要求:
@ray-js/lock-sdk≥1.2.0
描述
获取指定开锁方式类型的引导图或视频
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
type | "finger" | "face" | "password" | "card" | "fingerVein" | "hand" | "eye" | 是 | 开锁方式类型 |
返回值
类型:Promise<UnlockGuide>
引导数据或 null
UnlockGuide
| 属性 | 类型 | 说明 |
|---|---|---|
videoUrl | string | 引导视频地址 |
picUrl | string | 引导图地址 |
expireTime | number | 资源过期时间 |
合法值
type
| 值 | 说明 | 最低版本 |
|---|---|---|
finger | - | - |
face | - | - |
password | - | - |
card | - | - |
fingerVein | - | - |
hand | - | - |
eye | - | - |