-
Notifications
You must be signed in to change notification settings - Fork 104
Javascript Method Reference
The plugin provides various Javascript methods for you to use in your HTML/ Javascript front-end.
All methods attempt to return the following data in both the success and failure callbacks
Method will start the background service.
Method will stop the background service.
Method will enable the timer on the background service.
Method will disable the timer on the background service.
Method will enable the passing of configuration details from the HTML/ Javascript front-end to the background service.
Method will enable the background service to start automatically on device boot.
Method will disable the background service from starting automatically on device boot.
Method will get the current status of the background service.
Method allows the background service logic (doWork) to be run once from the HTML/ Javascript front-end.
Method allows the HTML/ Javascript front-end to register a handler to be run automatically after the completion of the [doWork] (doWork).
Method allows the HTML/ Javascript front-end to de-register a handler to be run automatically after the completion of the [doWork] (doWork).