获取错误记录

功能表:getFlashLog

参数说明:

type 0 查询
1 清除记录

示例

Swift

Cmds.getErrorRecord(type: 0).send { rs in
    if case .success(let obj) = rs {
        // 成功
        // obj is IDOErrorRecordModel
    }else {
        // 失败
    }
}

Kotlin

Cmds.getErrorRecord(0).send {
    if (it.error.code == 0) {
        // 成功
        // it.res is IDOErrorRecordModel
    }else {
        // 失败
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-11-01 09:38:58

results matching ""

    No results matching ""