android-components / mozilla.components.feature.qr / QrFeature / scan


fun scan(containerViewId: Int = Boolean (source)

Starts the QR scanner fragment and listens for scan results.


containerViewId - optional id of the container this fragment is to be placed in, defaults to

Return true if the scanner was started or false if permissions still need to be requested.