获取设备的日志状态

功能表 : getDeviceLogState

示例

Swift

Cmds.getDeviceLogState().send { rs in
    if case .success(let obj) = rs {
        // 成功
        // obj is IDODeviceLogStateModel
    }else {
        // 失败
    }
}

Kotlin

Cmds.getDeviceLogState().send {
    if (it.error.code == 0) {
        // 成功
        // it.res is IDODeviceLogStateModel
    }else {
        // 失败
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-04-12 11:43:50

results matching ""

    No results matching ""