definePermissions

fun definePermissions(permissionsToRequest: LinkedHashMap<String, Boolean>)

Change the permissions to request

Parameters

permissionsToRequest

: the permissions are defined by a Pair of String for the permission name and a Boolean for indicates whereas the permission is required or not. Use a LinkedHashMap that contains Pair elements.