获取全天步数目标

功能表 : getStepDataTypeV2

示例

Swift

Cmds.getStepGoal().send { rs in
    if case .success(let obj) = rs {
        // 成功
        // obj is IDOStepGoalModel
    }else {
        // 失败
    }
}

Kotlin

Cmds.getStepGoal().send {
    if (it.error.code == 0) {
        // 成功
        // it.res is IDOStepGoalModel
    }else {
        // 失败
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-04-12 11:43:51

results matching ""

    No results matching ""