[android-components](../../index.md) / [mozilla.components.feature.pwa](../index.md) / [WebAppUseCases](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`WebAppUseCases(applicationContext: <ERROR CLASS>, sessionManager: `[`SessionManager`](../../mozilla.components.browser.session/-session-manager/index.md)`, httpClient: `[`Client`](../../mozilla.components.concept.fetch/-client/index.md)`, supportWebApps: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)``WebAppUseCases(applicationContext: <ERROR CLASS>, sessionManager: `[`SessionManager`](../../mozilla.components.browser.session/-session-manager/index.md)`, shortcutManager: `[`WebAppShortcutManager`](../-web-app-shortcut-manager/index.md)`)`

These use cases allow for adding a web app or web site to the homescreen.

