Class Garmin.RemoteTransfer
Object
|
+--Garmin.RemoteTransfer
- class
Garmin.RemoteTransfer
Garmin.RemoteTransfer
Defined in GarminRemoteTransfer.js
|
Constructor Summary |
Garmin.RemoteTransfer()
Provides the easiest avenue for getting a working instance of the plug-in onto your page.
|
MESSAGES
<static> Object MESSAGES
Garmin.RemoteTransfer
Garmin.RemoteTransfer()
Provides the easiest avenue for getting a working instance of the plug-in onto your page.
Generates the UI elements and places them on the page.
initialize
void initialize()
openRequest
json, openRequest(type, url, async, parameters )
Open a REST request to a web service. The JSON result is returned (if any) along
with request status and any error info provided by the HTTP response.
Parameters:
type - - the type of REST call to make
url - - the URL of the web service endpoint
async - - true for async, false for synch.
parameters - - parameters for the request, if any. Should be in the hash format: {Garmin.RemoteTransfer.prototype.paramName = paramValue; Garmin.RemoteTransfer.prototype.anotherParamName = anotherParamValue;}
Returns:
a response hash containing the JSON response object, and an error message if there was one. message if available. Ids of the response elements are as Garmin.RemoteTransfer.prototype.follows = json; error.
Documentation generated by
JSDoc on Wed Apr 9 16:12:40 2008