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

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

#import <WFFitMessageLap.h>

+ Inheritance diagram for WFFitMessageLap:
+ Collaboration diagram for WFFitMessageLap:

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

float avgSpeed
 Gets the average speed for the lap (in meters per second). More...
 
double endLatitude
 Gets the ending latitude for the lap. More...
 
double endLongitude
 Gets the ending longitude for the lap. More...
 
float maxSpeed
 Gets the max speed for the lap (in meters per second). More...
 
FIT_LAP_MESGpstLap
 Gets a pointer to a FIT_LAP_MESG structure containing the data for this record. More...
 
double startLatitude
 Gets the starting latitude for the lap. More...
 
double startLongitude
 Gets the starting longitude for the lap. More...
 
NSDate * startTime
 Gets the start time for the lap (represented as an NSDate). More...
 
NSDate * timestamp
 Gets or sets the timestamp of the record. More...
 
float totalDistance
 Gets the total distance for the lap (in meters). More...
 
double totalElapsedTime
 Gets the total elapsed time for the lap (in seconds). More...
 
double totalRunningTime
 Gets the total running time for the lap (in seconds). More...
 

Detailed Description

Represents a lap 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

- (float) avgSpeed
readnonatomicassign

Gets the average speed for the lap (in meters per second).

- (double) endLatitude
readnonatomicassign

Gets the ending latitude for the lap.

- (double) endLongitude
readnonatomicassign

Gets the ending longitude for the lap.

- (float) maxSpeed
readnonatomicassign

Gets the max speed for the lap (in meters per second).

- (FIT_LAP_MESG*) pstLap
readnonatomicassign

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

- (double) startLatitude
readnonatomicassign

Gets the starting latitude for the lap.

- (double) startLongitude
readnonatomicassign

Gets the starting longitude for the lap.

- (NSDate*) startTime
readnonatomicassign

Gets the start time for the lap (represented as an NSDate).

- (NSDate*) timestamp
readnonatomicassigninherited

Gets or sets the timestamp of the record.

- (float) totalDistance
readnonatomicassign

Gets the total distance for the lap (in meters).

- (double) totalElapsedTime
readnonatomicassign

Gets the total elapsed time for the lap (in seconds).

- (double) totalRunningTime
readnonatomicassign

Gets the total running time for the lap (in seconds).