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

onNeedToRequestPermissions

val onNeedToRequestPermissions: OnNeedToRequestPermissions (source)

Overrides PermissionsFeature.onNeedToRequestPermissions

a callback invoked when permissions need to be requested before a QR scan can be performed. Once the request is completed, onPermissionsResult needs to be invoked. This feature will request android.Manifest.permission.CAMERA.

Property

onNeedToRequestPermissions - a callback invoked when permissions need to be requested before a QR scan can be performed. Once the request is completed, onPermissionsResult needs to be invoked. This feature will request android.Manifest.permission.CAMERA.