-
Notifications
You must be signed in to change notification settings - Fork 104
startService
Mark Taylor edited this page Jan 4, 2014
·
3 revisions
startService(successCallback, failureCallback)
- successCallback The callback which will be called if the method is successful. The callback is passed the [Returned JSON] (Returned-JSON).
- failureCallback The callback which will be called if the method encounters an error. The callback is passed the [Returned JSON] (Returned-JSON).
Method will start the background service. Note that a background service must be started before most other methods - however the enableTimer will also need to be called before the [doWork] (doWork) of the background service is run.
- [stopService] (stopService)
- [Returned JSON] (Returned-JSON)