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.
|
| 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.
|
Class Detail
Garmin.DirectoryFactory()
A factory that can produce a Garmin.Directory object given directory xml. Currently
this is for FIT support, but this may be extended later for other types.
- 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