-
public interface PermissionListenerInterface that listens to updates to the permission requests
-
-
Method Summary
Modifier and Type Method Description abstract voidonPermissionGranted(PermissionGrantedResponse response)Method called whenever a requested permission has been granted abstract voidonPermissionDenied(PermissionDeniedResponse response)Method called whenever a requested permission has been denied abstract voidonPermissionRationaleShouldBeShown(PermissionRequest permission, PermissionToken token)Method called whenever Android asks the application to inform the user of the need for therequested permission. -
-
Method Detail
-
onPermissionGranted
abstract void onPermissionGranted(PermissionGrantedResponse response)
Method called whenever a requested permission has been granted
- Parameters:
response- A response object that contains the permission that has been requested andany additional flags relevant to this response
-
onPermissionDenied
abstract 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
-
onPermissionRationaleShouldBeShown
abstract void onPermissionRationaleShouldBeShown(PermissionRequest permission, PermissionToken token)
Method called whenever Android asks the application to inform the user of the need for therequested permission. The request process won't continue until the token is properly used
- Parameters:
permission- The permission that has been requestedtoken- Token used to continue or cancel the permission request process.
-
-
-
-