This interface is the contract for receiving the results for permission requests.
Callback for the result from requesting permissions.
abstract fun onRequestPermissionsResult(requestCode: Int, @NonNull permissions: Array<String!>, @NonNull grantResults: IntArray): Unit
Callback for the result from requesting permissions. This method is invoked for every call on
requestPermissions(android.app.Activity, * String, int).
Note: It is possible that the permissions request interaction with the user is interrupted. In this case you will receive empty permissions and results arrays which should be treated as a cancellation.
||Int: The request code passed in
||Int: The requested permissions. Never null.|
||Int: The grant results for the corresponding permissions which is either