android-components / mozilla.components.feature.prompts / PromptFeature / onNeedToRequestPermissions

onNeedToRequestPermissions

val onNeedToRequestPermissions: OnNeedToRequestPermissions (source)

Overrides PermissionsFeature.onNeedToRequestPermissions

A callback invoked when permissions need to be requested before a prompt (e.g. a file picker) can be displayed. Once the request is completed, onPermissionsResult needs to be invoked.

Property

onNeedToRequestPermissions - A callback invoked when permissions need to be requested before a prompt (e.g. a file picker) can be displayed. Once the request is completed, onPermissionsResult needs to be invoked.