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

onPermissionsResult

fun onPermissionsResult(permissions: Array<String>, grantResults: IntArray): Unit (source)

Overrides PermissionsFeature.onPermissionsResult

Notifies the feature that the permissions request was completed. It will then either process or dismiss the prompt request.

Parameters

permissions - List of permission requested.

grantResults - The grant results for the corresponding permissions

See Also

onNeedToRequestPermissions