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

WebAppActivityFeature

class WebAppActivityFeature : LifecycleObserver (source)

Feature used to handle window effects for “standalone” and “fullscreen” web apps.

Constructors

Name Summary
<init> WebAppActivityFeature(activity: <ERROR CLASS>, icons: BrowserIcons, manifest: WebAppManifest)
Feature used to handle window effects for “standalone” and “fullscreen” web apps.

Functions

Name Summary
onDestroy fun onDestroy(): Unit
onResume fun onResume(): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.