//mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline/OfflineService
[androidJvm]
class OfflineService : Service
This is the core of the plugin. It manages the downloads, shows notifications and dispatches events that OfflineDownloadReceivers can listen to.
The static methods startDownload and cancelDownload, as their names suggest, can be used to start and cancel a download respectively. While executing these actions, the service shows a notification to make the user aware of what’s going on.
OfflineService | [androidJvm] fun OfflineService() |
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |