Set sunrise and sunset time

Function table: setWeatherSunTime

Example

Swift

let param = IDOWeatherSunTimeParamModel(...)

Cmds.setWeatherSunTime(param).send { rs in
 if case .success(let obj) = rs {
 // Success
 // obj is IDOCmdSetResponseModel
 }else {
 // failed
 }
}

Kotlin

val param = IDOWeatherSunTimeParamModel(...)

Cmds.setWeatherSunTime(param).send {
 if (it.isOK) {
 // Success
 }else {
 // Failure
 }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-03-13 12:04:56

results matching ""

    No results matching ""