Communicator Plugin API Version 1.9

Class Index | File Index

Classes


Class Garmin.DirectoryFactory

Garmin.DirectoryFactory
Defined in: GarminDirectoryFactory.js.

Class Summary
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 Summary
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

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jul 25 2011 09:36:54 GMT-0700 (MST)