Get calories/distance/intensive sports duration target
Function table
__IDO_FUNCTABLE__.funcTable37Model.midHighTimeGoal
Calories/distance/intensive sports duration target model description
- IDOSetUserInfoBuletoothModel
Parameter | Description | Notes |
---|---|---|
goalCalorieData | goal calorie data | Unit: Kcal |
goalDistanceData | goal distance data | Unit: M |
goalMidHighTimeData | gold mid-high time data | Unit: s |
goalWalkTime | goal walking time | Unit: Hour |
calorieMax | calorie Max | Unit: kcal |
calorieMin | Calorie Min | Unit: kcal |
command code
Objc:
[IDOFoundationCommand getCalorieDistanceGoalCommand:^(int errorCode, IDOSetUserInfoBuletoothModel * _Nullable data) {
if (errorCode == 0) {
//get success
}else if (errorCode == 6) {
//device not supported
}else {
//get failed
}
}];
Swift:
IDOFoundationCommand.getCalorieDistanceGoalCommand { (errorCode, model) in
if errorCode == 0 {
//get success
}else if errorCode == 6 {
//device not supported
}else {
//get failed.
}
};