public class AppPermissionHandler extends java.lang.Object implements PermissionHandler
PermissionHandler.PermissionCallback| Modifier and Type | Field and Description |
|---|---|
static int |
PERMISSION_REQUEST_ID
The id of the permission request.
|
| Constructor and Description |
|---|
AppPermissionHandler(android.content.Context context)
Instantiates a new App permission handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
askForNotGrantedPermissions()
Perform action to ask a user for not granted permissions.
|
void |
askForNotGrantedPermissions(PermissionHandler.PermissionCallback callback)
Perform action to ask a user for not granted permissions.
|
public static final int PERMISSION_REQUEST_ID
public AppPermissionHandler(android.content.Context context)
context - activity contextpublic void askForNotGrantedPermissions()
PermissionHandleraskForNotGrantedPermissions in interface PermissionHandlerpublic void askForNotGrantedPermissions(PermissionHandler.PermissionCallback callback)
PermissionHandleraskForNotGrantedPermissions in interface PermissionHandlercallback - the callback with the information whether user has granted the permission.