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

Represents a device info record from a fitness device FIT file. More...

#import <WFFitMessageDeviceInfo.h>

+ Inheritance diagram for WFFitMessageDeviceInfo:
+ Collaboration diagram for WFFitMessageDeviceInfo:

Instance Methods

(id) - initWithRecord:
 Initializes the WFFitMessageBase with the contents of the specified FIT record. More...
 
(NSString *) - stringFromTime:
 Returns the specified time as a string formatted in short date time (MM/DD/YY 12:00 AM). More...
 
(NSString *) - stringFromTimestamp
 Returns the timestamp as a string formatted in short date time (MM/DD/YY 12:00 AM). More...
 

Properties

FIT_DEVICE_INFO_MESGpstDeviceInfo
 Gets a pointer to a FIT_DEVICE_INFO_MESG structure containing the data for this record. More...
 
NSDate * timestamp
 Gets or sets the timestamp of the record. More...
 

Detailed Description

Represents a device info record from a fitness device FIT file.

Method Documentation

- (id) initWithRecord: (void *)  pstRecord

Initializes the WFFitMessageBase with the contents of the specified FIT record.

Parameters
pstRecordA pointer to the FIT record used to initialize this instance.
Returns
This WFFitMessageBase instance.
- (NSString*) stringFromTime: (NSDate *)  time

Returns the specified time as a string formatted in short date time (MM/DD/YY 12:00 AM).

Parameters
timeThe time value to be formatted.
Returns
A formatted date string (MM/DD/YY 12:00 AM).
- (NSString*) stringFromTimestamp

Returns the timestamp as a string formatted in short date time (MM/DD/YY 12:00 AM).

Returns
A formatted date string (MM/DD/YY 12:00 AM).

Property Documentation

- (FIT_DEVICE_INFO_MESG*) pstDeviceInfo
readnonatomicassign

Gets a pointer to a FIT_DEVICE_INFO_MESG structure containing the data for this record.

- (NSDate*) timestamp
readnonatomicassigninherited

Gets or sets the timestamp of the record.