Get pet info

Function table: getPetInfo

Example

Swift

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

Kotlin

Cmds.getPetInfo().send {
    if (it.error.code == 0) {
        // Success
        // it.res is IDOPetInfoModel
    } else {
        // Failure
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-07-27 09:20:46

results matching ""

    No results matching ""