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

Represents an ANT FS Directory. More...

#import <WFAntFSDirectory.h>

+ Inheritance diagram for WFAntFSDirectory:
+ Collaboration diagram for WFAntFSDirectory:

Instance Methods

(ANTFSP_DIRECTORY *) - entryAtIndex:
 Returns the directory entry at the specified index. More...
 
(NSArray *) - getActivityEntries
 Returns a collection of WFFitFileInfo instances representing the file system information for FIT ACTIVITY files in the directory. More...
 
(id) - initWithBuffer:bufferLength:
 Initializes this WFAntFSDirectory with the specified buffer. More...
 

Properties

ULONG numberOfEntries
 Gets the number of entries in the directory. More...
 
ANTFS_DIRECTORY_HEADERpstHeader
 Gets a pointer to the directory header. More...
 
WFFitSettingsFileDatasettingsFileData
 Gets the settings file data. More...
 

Detailed Description

Represents an ANT FS Directory.

Method Documentation

- (ANTFSP_DIRECTORY*) entryAtIndex: (ULONG ulIndex

Returns the directory entry at the specified index.

Parameters
ulIndexThe index of the directory entry to retrieve.
Returns
The ANTFSP_DIRECTORY at the specified index.
- (NSArray*) getActivityEntries

Returns a collection of WFFitFileInfo instances representing the file system information for FIT ACTIVITY files in the directory.

Returns
An array containing the file information records.
- (id) initWithBuffer: (UCHAR *)  pBuffer
bufferLength: (ULONG ulLength 

Initializes this WFAntFSDirectory with the specified buffer.

Parameters
pBufferThe buffer containing the directory structure.
ulLengthThe length of the buffer.
Returns
This WFAntFSDirectory instance.

Property Documentation

- (ULONG) numberOfEntries
readnonatomicassign

Gets the number of entries in the directory.

- (ANTFS_DIRECTORY_HEADER*) pstHeader
readnonatomicassign

Gets a pointer to the directory header.

- (WFFitSettingsFileData*) settingsFileData
readwritenonatomicretain

Gets the settings file data.