Skip to content

初始化人脸库 ​

方法名 ​

init

用法 ​

示例 ​

js
module.init(res => {
  this.showToast(JSON.stringify(res))
})

参数说明 ​

无

回调 ​

示例 ​

json
{
    "data": {},
    "message": "",
    "code": 0
}

回调说明 ​

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
codeInteger返回类型,0.成功,其他:请参考状态码