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

# &lt;init&gt;

`P2PFeature(view: `[`P2PView`](../../mozilla.components.feature.p2p.view/-p2-p-view/index.md)`, store: `[`BrowserStore`](../../mozilla.components.browser.state.store/-browser-store/index.md)`, engine: `[`Engine`](../../mozilla.components.concept.engine/-engine/index.md)`, connectionProvider: () -> `[`NearbyConnection`](../../mozilla.components.lib.nearby/-nearby-connection/index.md)`, tabsUseCases: `[`TabsUseCases`](../../mozilla.components.feature.tabs/-tabs-use-cases/index.md)`, sessionUseCases: `[`SessionUseCases`](../../mozilla.components.feature.session/-session-use-cases/index.md)`, sessionManager: `[`SessionManager`](../../mozilla.components.browser.session/-session-manager/index.md)`, onNeedToRequestPermissions: `[`OnNeedToRequestPermissions`](../../mozilla.components.support.base.feature/-on-need-to-request-permissions.md)`, onClose: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`

Feature implementation for peer-to-peer communication between browsers.

