-
- All Implemented Interfaces:
-
com.karumi.dexter.listener.multi.MultiplePermissionsListener
public class BaseMultiplePermissionsListener implements MultiplePermissionsListener
Base implementation of MultiplePermissionsListener to allow extensions to implement only the required methods
-
-
Method Summary
Modifier and Type Method Description voidonPermissionsChecked(MultiplePermissionsReport report)Method called when all permissions has been completely checked voidonPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token)Method called whenever Android asks the application to inform the user of the need for therequested permissions. -
-
Method Detail
-
onPermissionsChecked
void onPermissionsChecked(MultiplePermissionsReport report)
Method called when all permissions has been completely checked
- Parameters:
report- In detail report with all the permissions that has been denied and granted
-
onPermissionRationaleShouldBeShown
void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token)
Method called whenever Android asks the application to inform the user of the need for therequested permissions. The request process won't continue until the token is properly used
- Parameters:
permissions- The permissions that has been requested.token- Token used to continue or cancel the permission request process.
-
-
-
-