android-components / mozilla.components.feature.pwa / ManifestStorage

ManifestStorage

class ManifestStorage (source)

Constructors

Name Summary
<init> ManifestStorage(context: <ERROR CLASS>)

Functions

Name Summary
loadManifest suspend fun loadManifest(startUrl: String): WebAppManifest?
Load a Web App Manifest for the given URL from disk. If no manifest is found, null is returned.
removeManifests suspend fun removeManifests(startUrls: List<String>): <ERROR CLASS>
Delete all manifests associated with the list of URLs.
saveManifest suspend fun saveManifest(manifest: WebAppManifest): <ERROR CLASS>
Save a Web App Manifest to disk.