onRequestPermissionsResult

open override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray)

Callback for the result from requesting permissions.

Parameters

requestCode

The request code passed in ActivityCompat.requestPermissions(android.app.Activity, String[], int).

permissions

The requested permissions. Never null.

grantResults

The grant results for the corresponding permissions which is either PackageManager.PERMISSION_GRANTED or PackageManager.PERMISSION_DENIED. Never null.