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
WFWeightScaleData Class Reference

Represents the data available from the ANT+ Weight Scale sensor. More...

#import <WFWeightScaleData.h>

+ Inheritance diagram for WFWeightScaleData:
+ Collaboration diagram for WFWeightScaleData:

Instance Methods

(NSString *) - formattedWeight:
 

Properties

float bodyWeight
 Measured body weight (in kg). More...
 
BOOL isDataStale
 TRUE if data is considered stale, otherwise FALSE. More...
 
WFConnectorSettingssettings
 Gets the persistent settings for the Wahoo API. More...
 
USHORT userProfileId
 User profile ID number. More...
 

Detailed Description

Represents the data available from the ANT+ Weight Scale sensor.

ANT+ sensors send data in multiple packets. The WFWeightScaleData combines this data into a single entity. The data represents the latest of each data type sent from the sensor.

Method Documentation

- (NSString*) formattedWeight: (BOOL showUnits

Property Documentation

- (float) bodyWeight
readwritenonatomicassign

Measured body weight (in kg).

Note
Two special values exist. When the weight scale is computing the user's weight, the value will be WF_WEIGHT_SCALE_COMPUTING. If the weight scale has not recorded a valid value, the value will be WF_WEIGHT_SCALE_INVALID. Otherwise, the value is the weight in kilograms.
- (BOOL) isDataStale
readnonatomicassigninherited

TRUE if data is considered stale, otherwise FALSE.

- (WFConnectorSettings*) settings
readnonatomicassigninherited

Gets the persistent settings for the Wahoo API.

- (USHORT) userProfileId
readwritenonatomicassign

User profile ID number.