onResult
abstract fun onResult(@NonNull permission: Permission, @NonNull before: PermissionStatus, @NonNull after: PermissionStatus)
Called when a new permission result is received.
Parameters
permission
The permission.
before
The status before requesting permission.
after
The resulting status.