【2025年1月2日】关于腾讯云小程序平台更名为腾讯云超级应用服务的公告
控制台更新动态
Android SDK 更新动态
iOS SDK 更新动态
Flutter 更新动态
IDE 更新动态
基础库更新动态
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
属性 | 类型 | 说明 |
isEnrolled | boolean | 是否已录入信息 |
errMsg | string | 错误信息 |
wx.checkIsSoterEnrolledInDevice({success(res) {console.log(res.isEnrolled)}})
属性 | 类型 | 默认值 | 必填 | 说明 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
wx.checkIsSupportSoterAuthentication({success() {// 支持生物认证}})
属性 | 类型 | 默认值 | 必填 | 说明 |
authContent | string | '' | 否 | 验证描述,即识别过程中显示在界面上的对话框提示内容 |
success | function | - | 否 | 接口调用成功的回调函数 |
fail | function | - | 否 | 接口调用失败的回调函数 |
complete | function | - | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
wx.startSoterAuthentication({authContent: '生物认证解锁',success() {// 认证成功}})
文档反馈