app / sg.edu.ntu.scse.cz2006.gymbuddies / CarparkAndSearchResultActivity / onRequestPermissionsResult

onRequestPermissionsResult

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

Internal lifecycle function that executes when we receive permission grant/deny details We use this for the location permission

Parameters

requestCode - Int Permission Request Code for reference

permissions - Array List of permissions requested

grantResults - IntArray Results of the permission request