![]() |
Wahoo Fitness API
3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
|
Represents the odometer history for the Wahoo BlueSC bike speed and cadence sensor (or similar). More...
#import <WFOdometerHistory.h>
Instance Methods | |
(float) | - getDistanceForWeek: |
Returns the distance traveled during the specified week. More... | |
(float) | - getOdometerForWeek: |
Returns the odometer reading as of the end of the specified week. More... | |
(ULONG) | - getWheelRevolutionsForWeek: |
Returns the raw wheel revolutions as of the end of the specified week. More... | |
Protected Attributes | |
ULONG | aulHistoryBuffer [WF_ODOMETER_HISTORY_MAX_SIZE] |
Properties | |
float | bikeWheelCircumference |
Gets or sets the bike wheel circumference, in meters. More... | |
ULONG | ulCurrentWheelRevolutions |
Gets the current total wheel revolutions for the device. More... | |
Represents the odometer history for the Wahoo BlueSC bike speed and cadence sensor (or similar).
The Wahoo Fitness BlueSC provides the ability to record odometer history by week for the past year.
- (float) getDistanceForWeek: | (UCHAR) | ucWeek |
Returns the distance traveled during the specified week.
ucWeek | The number for which to get the odometer reading. The current week is 0 , the previous week is 1 , the week before that is 2 , etc. The earliest week possible is WF_ODOMETER_HISTORY_MAX_SIZE. |
- (float) getOdometerForWeek: | (UCHAR) | ucWeek |
Returns the odometer reading as of the end of the specified week.
ucWeek | The number for which to get the odometer reading. The current week is 0 , the previous week is 1 , the week before that is 2 , etc. The earliest week possible is WF_ODOMETER_HISTORY_MAX_SIZE. |
Returns the raw wheel revolutions as of the end of the specified week.
ucWeek | The number for which to get the wheel revolutions. The current week is 0 , the previous week is 1 , the week before that is 2 , etc. The earliest week possible is WF_ODOMETER_HISTORY_MAX_SIZE. |
|
protected |
|
readwritenonatomicassign |
Gets or sets the bike wheel circumference, in meters.
|
readwritenonatomicassign |
Gets the current total wheel revolutions for the device.