public interface IPermissionCallback
PermissionsManager
Modifier and Type | Method and Description |
---|---|
void |
permissionDenied(int permissionType,
java.lang.String reason)
A user (or the OS) has denied the application permission to access a resource or operation.
|
void |
permissionGranted(int permissionType)
A permission has been granted for this device.
|
void |
permissionRequestInterrupted(int permissionType)
The OS recieved an interrupt during the request for a permission and must cancel.
|
void permissionGranted(int permissionType)
permissionType
- The type of permission as one of the constants in PermissionsManager
.void permissionDenied(int permissionType, java.lang.String reason)
permissionType
- The type of permission expressed as one of the constants in PermissionsManager
.reason
- A reason (if one is available) as given by the OS.void permissionRequestInterrupted(int permissionType)
permissionType
- The type of permission expressed as one of the constants in PermissionsManager
.