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
WFFitFileInfo.h
Go to the documentation of this file.
1 //
2 // WFFitFileInfo.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 6/15/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 //#import <WFConnector/common_types.h>
11 #import <WFConnector/types.h>
12 
13 
17 @interface WFFitFileInfo : NSObject
18 {
28  NSDate* timestamp;
29 
31 }
32 
33 
40 @property (nonatomic, assign) USHORT usFileIndex;
41 
47 @property (nonatomic, assign) UCHAR ucFileDataType;
48 
52 @property (nonatomic, assign) UCHAR ucFileSubType;
53 
60 @property (nonatomic, assign) USHORT usFileNumber;
61 
68 @property (nonatomic, assign) UCHAR ucSpecificFlags;
69 
80 @property (nonatomic, assign) UCHAR ucGeneralFlags;
81 
88 @property (nonatomic, assign) ULONG ulFileSize;
89 
93 @property (nonatomic, retain) NSDate* timestamp;
94 
95 
102 - (NSString*)stringFromTimestamp;
103 
104 @end
USHORT usFileIndex
Gets or sets the data file index.
Definition: WFFitFileInfo.h:40
Represents file structure information for the FIT file system.
Definition: WFFitFileInfo.h:17
UCHAR ucFileSubType
Gets or sets the data sub-type of the .FIT file.
Definition: WFFitFileInfo.h:52
ULONG ulFileSize
Gets or sets the size of the file in bytes.
Definition: WFFitFileInfo.h:88
UCHAR ucSpecificFlags
Gets or sets the bit-mapped flags of the data type specific permissions.
Definition: WFFitFileInfo.h:68
UCHAR ucGeneralFlags
Gets or sets the bit-mapped flags of file permissions.
Definition: WFFitFileInfo.h:80
UCHAR ucFileDataType
Gets or sets the data type of the file.
Definition: WFFitFileInfo.h:47
unsigned short USHORT
Definition: types.h:121
NSDate * timestamp
Gets or sets the time the file was created.
Definition: WFFitFileInfo.h:93
unsigned char UCHAR
Definition: types.h:118
unsigned long ULONG
Definition: types.h:133
USHORT usFileNumber
Gets or sets the number used to identify a specific instance of a file sub-type.
Definition: WFFitFileInfo.h:60