Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFWahooMotionAnalysisCalibratorRunning.h
Go to the documentation of this file.
1 //
2 // WFWahooMotionAnalysisRunningCalibrator.h
3 // WFConnector
4 //
5 // Created by Chris Uroda on 06/11/2014.
6 // Copyright (c) 2014 Wahoo Fitness. All rights reserved.
7 //
8 
11 
12 @class WFCalibrationPhase;
13 
14 
15 
16 
17 typedef NS_ENUM(NSInteger,WFMotionAnalysisRunningCalibratorActivity_t)
18 {
19  WF_MOTION_ANALYSIS_RUNNING_CALIBRATOR_ACTIVITY_RUNNING = 0,
20  WF_MOTION_ANALYSIS_RUNNING_CALIBRATOR_ACTIVITY_WALKING = 1
21 };
22 
23 
24 
25 typedef NS_ENUM(NSInteger,WFMotionAnalysisRunningCalibrationGender_t)
26 {
27  WF_MOTION_ANALYSIS_RUNNING_CALIBRATOR_GENDER_UNKNOWN = 0,
28  WF_MOTION_ANALYSIS_RUNNING_CALIBRATOR_GENDER_MALE = 1,
29  WF_MOTION_ANALYSIS_RUNNING_CALIBRATOR_GENDER_FEMALE = 2
30 };
31 
32 
33 
35 
49 @property (assign, nonatomic) bool extendedCalibrationEnabled;
50 
51 
55 @property (assign, nonatomic) WFMotionAnalysisRunningCalibrationGender_t gender;
56 
57 
58 
63 @property (assign, nonatomic) double stature;
64 
65 
66 
73 @property (assign, nonatomic) NSNumber *averageSpeedForCurrentPhase;
74 
75 
76 
80 @property (assign, nonatomic, readonly) int numberOfPhases;
81 
82 
86 @property (assign, nonatomic, readonly) int currentPhase;
87 
88 
92 @property (assign, nonatomic, readonly) NSTimeInterval remainingTimeInPhase;
93 
94 
95 
102 - (instancetype)initForActivity:(WFMotionAnalysisRunningCalibratorActivity_t)activity withSensorConnection:(WFSensorConnection *)sensorConnection;
103 
104 
112 - (bool)uploadDefaultCalibrationProfileForActivity:(WFMotionAnalysisRunningCalibratorActivity_t)activity
113  gender:(WFMotionAnalysisRunningCalibrationGender_t)gender
114  andStature:(NSNumber *)stature;
115 
116 
121 - (void)resetCurrentPhase;
122 
123 
124 @end
125 
126 
127 
128 
134 
139 - (void) wahooMotionAnalysisCalibrator:(WFWahooMotionAnalysisCalibrator *)calibrator doesRequireSpeedToContinue:(bool)reserved;
140 
141 @end
142 
The base class for all Wahoo Motion Analysis Calibrators.
Definition: WFWahooMotionAnalysisCalibrator.h:68
void resetCurrentPhase()
Resets the current calibration phase and puts the calibration process in a paused state...
int currentPhase
The current calibration phase.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:86
double stature
If the users stature (height) is known it will be used to improve the calibration Units are in centim...
Definition: WFWahooMotionAnalysisCalibratorRunning.h:63
bool extendedCalibrationEnabled
The Regular calibration process requires the user to walk or run at a single speed for two minutes (s...
Definition: WFWahooMotionAnalysisCalibratorRunning.h:49
NSNumber * averageSpeedForCurrentPhase
Setter for average speed during current calibration phase.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:73
Definition: WFWahooMotionAnalysisCalibratorRunning.h:34
WFMotionAnalysisRunningCalibrationGender_t gender
If the users gender is known it will be used to improve the calibration.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:55
NSTimeInterval remainingTimeInPhase
The time remaining in the current calibration phase.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:92
Represents the connection for an ANT sensor.
Definition: WFSensorConnection.h:43
typedef NS_ENUM(NSInteger, WFMotionAnalysisRunningCalibratorActivity_t)
Definition: WFWahooMotionAnalysisCalibratorRunning.h:17
Definition: WFWahooMotionAnalysisCalibratorDelegate.h:12
int numberOfPhases
The number of calibration phases.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:80
Extended calibrator delegate protocol for Running.
Definition: WFWahooMotionAnalysisCalibratorRunning.h:133