Get battery reminder switch

Function table: getBatteryReminderSwitch

Example

Swift

Cmds.getBatteryReminderSwitch().send { rs in
    if case .success(let obj) = rs {
        // Success
        // obj is IDOBatteryReminderSwitchModel
    }else {
        // Failure
    }
}

Kotlin

Cmds.getBatteryReminderSwitch().send {
    if (it.error.code == 0) {
        // Success
        // it.res is IDOBatteryReminderSwitchModel
    }else {
        // Failure
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-07-27 09:20:46

results matching ""

    No results matching ""