Class Garmin.DirectoryFactory
Garmin.DirectoryFactory
Defined in: GarminDirectoryFactory.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
A factory that can produce a Garmin.Directory object given directory xml
conforming to schema: http://www.garmin.com/xmlschemas/DirectoryListingV1.xsd
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Garmin.DirectoryFactory.getActivityFiles(files)
Takes in a list of any file type and returns a list of only activity file types.
|
| <static> |
Garmin.DirectoryFactory.getHealthDataFiles(files)
Takes in a list of any file type and returns a list of only health data file types.
|
Class Detail
Garmin.DirectoryFactory()
A factory that can produce a Garmin.Directory object given directory xml
conforming to schema: http://www.garmin.com/xmlschemas/DirectoryListingV1.xsd
- Requires:
- Garmin.File, Garmin.FileId
Method Detail
<static>
Garmin.DirectoryFactory.getActivityFiles(files)
Takes in a list of any file type and returns a list of only activity file types.
- Parameters:
- files
- {Array} list of Garmin.File objects of any type produced from the factory
<static>
Garmin.DirectoryFactory.getHealthDataFiles(files)
Takes in a list of any file type and returns a list of only health data file types.
- Parameters:
- files
- {Array} list of Garmin.File objects of any type produced from the factory