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

Package mozilla.components.feature.pwa.ext

Functions

Name Summary
applyOrientation fun <ERROR CLASS>.applyOrientation(manifest: WebAppManifest?): Unit
Sets the requested orientation of the Activity to the orientation provided by the given WebAppManifest (See WebAppManifest.orientation and WebAppManifest.Orientation.
asTaskDescription fun WebAppManifest.asTaskDescription(icon: <ERROR CLASS>?): <ERROR CLASS>
Create a TaskDescription for the activity manager based on the manifest.
installableManifest fun Session.installableManifest(): WebAppManifest?
Checks if the current session represents an installable web app. If so, return the web app manifest. Otherwise, return null.