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
WFHeartrateConnection+TICKRX.h
Go to the documentation of this file.
1 //
2 // WFHeartrateConnection+TICKRX.h
3 // WFConnector
4 //
5 // Created by Chris Uroda on 2014-11-04
6 // Copyright (c) 2014 Wahoo Fitness. All rights reserved.
7 //
8 
9 
10 #import <Foundation/Foundation.h>
11 #import <WFConnector/WFHeartrateConnection.h>
12 #import <WFConnector/WFSensorData.h>
13 #import <WFConnector/WFWahooMotionAnalysisData.h>
14 #import <WFConnector/WFWahooMotionAnalysisCalibrationProfile.h>
15 
16 
17 
18 // +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
19 #pragma mark - WFHeartrateConnectionTICKRXDelegate
20 // +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
25 
26 @optional
27 
29 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didGetActivityType:(WFWahooMotionAnalysisActivityType_t)activityType error:(NSError*)error;
39 
46 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didSetActivityType:(WFWahooMotionAnalysisActivityType_t)activityType error:(NSError*)error;
47 
54 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didGetActivityCalibration:(WFWahooMotionAnalysisCalibrationProfile*)calibration error:(NSError*)error;
55 
62 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didSetActivityCalibrationWithError:(NSError*)error;
63 
69 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didResetActivityCalibrationToDefaultsWithError:(NSError*)error;
70 
75 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83 - (void) hrTICKRXConnection:(WFHeartrateConnection*)connection didReceiveTapEvent:(NSUInteger)reserved;
84 
88 - (void) hrTICKRXConnectionDidReceiveDeviceReady:(WFHeartrateConnection*)connection;
89 
92 @end
93 
94 
95 
96 
97 // +----------------------------------------------------------------------------+
98 #pragma mark - WFHeartRateConnectionMotionAnalysisSpeedProvider
99 // +----------------------------------------------------------------------------+
100 
106 
113 - (NSNumber *)hrTICKRXConnection:(WFHeartrateConnection *)connection speedForMotionAnalysisProcessing:(bool)reserved;
114 
115 @end
116 
117 
118 
119 
120 // +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
121 #pragma mark - WFHeartrateConnection+TICKRX
122 // +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
127 
128 
132 @property (nonatomic, assign) id<WFHeartrateConnectionTICKRXDelegate> heartrateConnectionTICKRXDelegate;
133 
134 
138 @property (nonatomic, assign) id<WFHeartrateConnectionTICKRXSpeedProvider> motionAnalysisProcessingSpeedProvider;
139 
140 
141 
147 @property (nonatomic, readonly) BOOL tickrxDeviceIsReady;
148 
149 
158 - (WFWahooMotionAnalysisData*) getMotionAnalysisData;
159 
160 
161 
162 #pragma mark - Methods related to Activity Type Management
163 
164 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173 - (BOOL)getActivityType;
174 
175 
184 - (BOOL)setActivityType:(WFWahooMotionAnalysisActivityType_t)activityType;
185 
189 #pragma mark - Methods related to Motion Analysis Calibration Management
190 
191 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 - (BOOL)getActivityCalibrationForActivityType:(WFWahooMotionAnalysisActivityType_t)activityType;
201 
210 - (BOOL)setActivityCalibration:(WFWahooMotionAnalysisCalibrationProfile*)calibrationProfile;
211 
212 
221 - (BOOL)resetActivityCalibrationToDefaultsForActivityType:(WFWahooMotionAnalysisActivityType_t)activityType;
225 #pragma mark - Methods related to device vibration
226 
227 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 - (BOOL)performVibrationWithPattern:(NSArray*)vibrationPattern;
237 @end
Represents the data available from a Wahoo Fitness device which supports Motion Analysis.
Definition: WFWahooMotionAnalysisData.h:68
Represents a connection to an ANT+ Heart Rate Monitor sensor.
Definition: WFHeartrateConnection.h:23
signed char BOOL
Definition: types.h:110
Protocol to return speed data for motion analysis processing.
Definition: WFHeartrateConnection+TICKRX.h:105
WFHeartrateConnectionTICKRXDelegate.
Definition: WFHeartrateConnection+TICKRX.h:24
The base type for all Wahoo Motion Analysis Calibration Profiles.
Definition: WFWahooMotionAnalysisCalibrationProfile.h:18
WFHeartrateConnection+TICKRX.
Definition: WFHeartrateConnection+TICKRX.h:126