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

Represents an event record from a fitness device FIT file. More...

#import <WFFitMessageEvent.h>

+ Inheritance diagram for WFFitMessageEvent:
+ Collaboration diagram for WFFitMessageEvent:

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_EVENT_MESGpstEvent
 Gets a pointer to a FIT_EVENT_MESG structure containing the data for this record. More...
 
NSDate * timestamp
 Gets or sets the timestamp of the record. More...
 

Detailed Description

Represents an event 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_EVENT_MESG*) pstEvent
readnonatomicassign

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

- (NSDate*) timestamp
readnonatomicassigninherited

Gets or sets the timestamp of the record.