-
- All Implemented Interfaces:
-
com.karumi.dexter.listener.single.PermissionListener
public class SnackbarOnDeniedPermissionListener extends BasePermissionListener
Utility listener that shows a Snackbar with a custom text whenever a permission has been denied
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSnackbarOnDeniedPermissionListener.BuilderBuilder class to configure the displayed snackbarNon set fields will not be shown
-
Method Summary
Modifier and Type Method Description voidonPermissionDenied(PermissionDeniedResponse response)Method called whenever a requested permission has been denied -
Methods inherited from class com.karumi.dexter.listener.single.BasePermissionListener
onPermissionGranted, onPermissionRationaleShouldBeShown -
Methods inherited from class com.karumi.dexter.listener.single.PermissionListener
onPermissionRationaleShouldBeShown -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onPermissionDenied
void onPermissionDenied(PermissionDeniedResponse response)
Method called whenever a requested permission has been denied
- Parameters:
response- A response object that contains the permission that has been requested andany additional flags relevant to this response
-
-
-
-