Get the default sport type V3

Function table:getSportsTypeV3

Example

Swift

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

Kotlin

 Cmds.getSportTypeV3().send {
 if (it.error.code == 0) {
 // Success
 // it.res is IDODefaultSportTypeModel
 }else {
 // Failure
 }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2025-02-25 10:53:29

results matching ""

    No results matching ""