mapbox-plugin-offline

//mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline/OfflineService

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.

Constructors

   
OfflineService [androidJvm]
fun OfflineService()

Types

Name Summary
Companion [androidJvm]
object Companion