Get error records

Function table: getFlashLog

Parameter description:

字段名 字段类型 字段说明
type int 0: query
1: clear record

Example

Swift

Cmds.getErrorRecord(type: 0).send { rs in
if case .success(let obj) = rs {
// Success
// obj is IDOErrorRecordModel
}else {
// Failure
}
}

Kotlin

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

results matching ""

    No results matching ""