requestPermissions
Simply call this method to request all defined permissions (by default, the permissions defined are those for the mSDK)
Return
true if all defined permissions are already granted, false otherwise
Parameters
: the activity used for the permissions request
Simply call this method to request all defined permissions (by default, the permissions defined are those for the mSDK)
Parameters
: the activity used for the permissions request
: the activity result launcher from the new Activity Result API that will handle permissions request's result
Simply call this method to request the permissions passed to the method
Return
true if all defined permissions are already granted, false otherwise
Parameters
: the activity used for the permissions request
: 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