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

# &lt;init&gt;

`QrFragment()`

A [Fragment](#) that displays a QR scanner.

This class is based on Camera2BasicFragment from:

https://github.com/googlesamples/android-Camera2Basic
https://github.com/kismkof/camera2basic

