函数:ocrReportError 提交错误识别

函数名称:提交错误识别

函数功能:提交错误的识别

函数方法

bool,text = ocrReportError(id);

参数 类型 必填 说明
id string 打码成功会返回,默认传入最后一次打码 id,该参数一般不写
返回值 类型 说明
bool boolean 正确返回 true,错误返回 nil
text string 返回的信息状态,一般不需获取

函数用例

require "TSLib"--使用本函数库必须在脚本开头引用并将文件放到设备 lua 目录下
ocrInfo("haoi23","username","password")--先初始化
bool = ocrReportError()
if bool then
    dialog("提交成功",0)
end

注意事项

  • id 可用于打码提交错误识别

  • 支持平台

  • 出现多次打码或者平台有结果脚本返回空的情况,请延长超时时间参数

Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""