Get all health monitoring switches
Function table: getHealthSwitchStateSupportV3
Example
Swift
Cmds.getAllHealthSwitchState().send { rs in
if case .success(let obj) = rs {
// Success
// obj is IDOAllHealthSwitchStateModel
}else {
// Failure
}
}
Kotlin
Cmds.getAllHealthSwitchState().send {
if (it.error.code == 0) {
// Success
// it.res is IDOAllHealthSwitchStateModel
}else {
// Failure
}
}