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
WFFitActivityFileData.h
Go to the documentation of this file.
1 //
2 // WFFitActivityFileData.h (previously WFFitFileData.h)
3 // WFConnector
4 //
5 // Created by Michael Moore on 6/16/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFFitMessageBase.h>
11 #import <WFConnector/WFFitMesgFileId.h>
12 #import <WFConnector/WFFitMessageSession.h>
13 #import <WFConnector/WFFitMessageLap.h>
14 #import <WFConnector/WFFitMessageRecord.h>
15 #import <WFConnector/WFFitMessageEvent.h>
16 #import <WFConnector/WFFitMessageDeviceInfo.h>
17 #import <WFConnector/WFFitMesgWorkout.h>
18 #import <WFConnector/WFFitMessageActivity.h>
19 
20 
24 @interface WFFitActivityFileData : NSObject
25 {
28  NSMutableArray* sessionRecords;
29  NSMutableArray* lapRecords;
30  NSMutableArray* dataRecords;
31  NSMutableArray* eventRecords;
32  NSMutableArray* workoutRecords;
33  NSMutableArray* activityRecords;
36 
38 }
39 
40 
45 @property (nonatomic, retain) WFFitMesgFileId* fileId;
46 
50 @property (nonatomic, retain) WFFitMessageDeviceInfo* deviceInfo;
51 
55 @property (nonatomic, readonly) NSArray* sessionRecords;
56 
60 @property (nonatomic, readonly) NSArray* lapRecords;
61 
65 @property (nonatomic, readonly) NSArray* dataRecords;
66 
70 @property (nonatomic, readonly) NSArray* eventRecords;
71 
75 @property (nonatomic, readonly) NSArray* workoutRecords;
76 
80 @property (nonatomic, readonly) NSArray* activityRecords;
81 
82 
89 - (void)addSessionRecord:(WFFitMessageSession*)record;
90 
97 - (void)addLapRecord:(WFFitMessageLap*)record;
98 
105 - (void)addDataRecord:(WFFitMessageRecord*)record;
106 
113 - (void)addEventRecord:(WFFitMessageEvent*)record;
114 
121 - (void)addWorkoutRecord:(WFFitMesgWorkout*)record;
122 
129 - (void)addActivityRecord:(WFFitMessageActivity*)record;
130 
140 - (BOOL)decompressSpeedDistance;
141 
142 @end
NSArray * sessionRecords
Gets a collection of WFFitSessionRecord instances for the file.
Definition: WFFitActivityFileData.h:55
Represents an event record from a fitness device FIT file.
Definition: WFFitMessageEvent.h:17
Represents a workout record from a fitness device FIT file.
Definition: WFFitMesgWorkout.h:16
NSArray * workoutRecords
Gets a collection of WFFitWorkoutRecord instances for the file.
Definition: WFFitActivityFileData.h:75
Represents a lap record from a fitness device FIT file.
Definition: WFFitMessageLap.h:17
NSArray * activityRecords
Gets a collection of WFFitActivityRecord instances for the file.
Definition: WFFitActivityFileData.h:80
Represents a session record from a fitness device FIT file.
Definition: WFFitMessageSession.h:17
Represents a device info record from a fitness device FIT file.
Definition: WFFitMessageDeviceInfo.h:17
NSArray * lapRecords
Gets a collection of WFFitLapRecord instances for the file.
Definition: WFFitActivityFileData.h:60
Represents the data contents of a fitness device FIT file.
Definition: WFFitActivityFileData.h:24
signed char BOOL
Definition: types.h:110
Represents a single activity record from a fitness device FIT file.
Definition: WFFitMessageActivity.h:17
NSArray * dataRecords
Gets a collection of WFFitDataRecord instances for the file.
Definition: WFFitActivityFileData.h:65
WFFitMessageDeviceInfo * deviceInfo
Gets the device info for the device which created the FIT file.
Definition: WFFitActivityFileData.h:50
WFFitMesgFileId * fileId
Gets the WFFitMesgFileId instance containing meta-data information about the file.
Definition: WFFitActivityFileData.h:45
NSArray * eventRecords
Gets a collection of WFFitEventRecord instances for the file.
Definition: WFFitActivityFileData.h:70
Represents the File ID record from a FIT file.
Definition: WFFitMesgFileId.h:16
Represent a single data record from a fitness device FIT file.
Definition: WFFitMessageRecord.h:17