Get version information

Function table:getVersionInfo

Example

Swift

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

Kotlin


Cmds.getVersionInfo().send {
 if (it.error.code == 0) {
 // Success
 // it.res is IDOVersionInfoModel
 }else {
 // Failure
 }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2025-04-30 09:32:44

results matching ""

    No results matching ""