Communicator Plugin API Version 1.9

Class Index | File Index

Classes


Class Garmin.ActivityMatcher

Garmin.ActivityMatcher
Defined in: GarminActivityMatcher.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Garmin.ActivityMatcher(deviceXml, allActivityIds, ajaxUrl, ajaxOptions, callback)
The newer activity filter for synchronizing lists.
Method Summary
Method Attributes Method Name and Description
 
get(activityId)
Get the matching JSON object for given activity ID from the original response object.
 
run()
Run the filter.
Class Detail
Garmin.ActivityMatcher(deviceXml, allActivityIds, ajaxUrl, ajaxOptions, callback)
The newer activity filter for synchronizing lists. It makes an AJAX request to a remote service in order to detect matches on the server. It is dependent on Garmin.Axm.ActivityMatch, which wraps around the json response making it easy to retrieve the JSON values via javascript.
Parameters:
deviceXml
allActivityIds
ajaxUrl
ajaxOptions
callback
Method Detail
get(activityId)
Get the matching JSON object for given activity ID from the original response object. Null if not found or if activity matcher service is unavailable.
Parameters:
activityId

run()
Run the filter. Makes the AJAX request to find matching IDs on the server and populates the filtered list.

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