public static interface PermissionUtil.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onShouldShowExplanation(android.app.Activity activity,
int requestCode,
java.lang.String permission)
The method, which is invoked, when an explanation should be shown to the user before
requesting a permission.
|
void onShouldShowExplanation(android.app.Activity activity,
int requestCode,
java.lang.String permission)
activity - The activity, which should be used to show the explanation, as an instance of the
class ActivityrequestCode - The request code, which is used to request the permission, as an Integer
valuepermission - The permission, e.g. android.Manifest.permission.CALL_PHONE, which
should be explained, as a String