Get pressure switch

Function table: getSupportGetPressureSwitchInfo

Example

Swift

Cmds.getStressSwitch().send { rs in
     if case .success(let obj) = rs {
         // success
         // obj is IDOStressSwitchModel
     }else {
         // fail
     }
}

Kotlin

Cmds.getStressSwitch().send {
     if (it.error.code == 0) {
         // success
         // it.res is IDOStressSwitchModel
     }else {
         // fail
     }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-05-21 11:44:31

results matching ""

    No results matching ""