android-components / mozilla.components.feature.pwa / WebAppLauncherActivity
WebAppLauncherActivity
class WebAppLauncherActivity : AppCompatActivity
(source)
This activity is launched by Web App shortcuts on the home screen.
Based on the Web App Manifest (display) it will decide whether the app is launched in the browser or in a standalone activity.
Constructors
Name | Summary |
---|---|
<init> | WebAppLauncherActivity() This activity is launched by Web App shortcuts on the home screen. |
Functions
Name | Summary |
---|---|
onCreate | fun onCreate(savedInstanceState: <ERROR CLASS>?): Unit |
onDestroy | fun onDestroy(): 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. |