The service object

Service objects are bound to the plugin from which they were created. If the plugin is unloaded, all service objects will be destroyed.



Boolean value that can be modified from the plugin to enable/disable the service on the home screen



Will destroy the service. Note that if the ECMAScript garbage collector destroys the object the service within showtime will not be removed. The plugin must invoke the destroy() method to remove the service or the user must unload the plugin to remove the service. Therefore if the plugin have no setting for removing the service from the home screen the service can just be created and the returned object can be forgotten about.