获取卡路里/距离/中高运动时长的目标

功能表

__IDO_FUNCTABLE__.funcTable37Model.midHighTimeGoal

卡路里/距离/中高运动时长的目标模型说明

  • IDOSetUserInfoBuletoothModel
参数 说明 备注
goalCalorieData 目标卡路里 单位:大卡
goalDistanceData 目标距离 单位:米
goalMidHighTimeData 中高运动时长的目标 单位:秒
goalWalkTime 走动目标时间 单位:时
calorieMax 活动卡路里最大值 单位:千卡
calorieMin 活动卡路里最小值 单位:千卡

命令代码

Objc:

[IDOFoundationCommand getCalorieDistanceGoalCommand:^(int errorCode, IDOSetUserInfoBuletoothModel * _Nullable data) {
    if (errorCode == 0) {
       //获取成功
    }else if (errorCode == 6) {
       //设备不支持
    }else {
       //获取失败
    }
}];

Swift:

IDOFoundationCommand.getCalorieDistanceGoalCommand { (errorCode, model) in
    if errorCode == 0 {
        //获取成功
    }else if errorCode == 6 {
       //设备不支持
    }else {
       //获取失败.                                                                                                                                                                                                                                        
    }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by Gitbook修订时间: 2023-12-18 10:04:13

results matching ""

    No results matching ""