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

# &lt;init&gt;

`QrFeature(context: `[`Context`](https://developer.android.com/reference/android/content/Context.html)`, fragmentManager: FragmentManager, onScanResult: `[`OnScanResult`](../-on-scan-result.md)` = { }, onNeedToRequestPermissions: `[`OnNeedToRequestPermissions`](../-on-need-to-request-permissions.md)` = { })`

Feature implementation that provides QR scanning functionality via the [QrFragment](../-qr-fragment/index.md).

