Cordova API
API Reference
All functions are asynchronous. All functions will, at a minimum, include successCallback
and errorCallback
parameters, both of which are callback functions.
-
successCallback
will be called in normal cases, and will return an appropriate JSONobject
. -
errorCallback
will be called when there was an error, and will return a single errorstring
.