Public Member Functions | |
| List< String > | getNeededPermissions (AppCompatActivity activity) |
| void | requestMultiplePermissions (AppCompatActivity activity) |
| void | onRequestPermissionsResult (AppCompatActivity activity, int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) |
Static Public Attributes | |
| static final int | REQUEST_MULTIPLE_PERMISSION = 1001 |
| static final String[] | permissions |
| static boolean | permissionsDeniedShown = false |
Android UI Permissions helper. Activity contexts are needed.
| void com.mobiledgex.matchingengine.util.RequestPermissions.onRequestPermissionsResult | ( | AppCompatActivity | activity, |
| int | requestCode, | ||
| @NonNull String[] | permissions, | ||
| @NonNull int[] | grantResults | ||
| ) |
Keeps asking for permissions until granted or user checks box to not asked again.
| activity | (AppCompatActivity) |
| requestCode | (int) |
| permissions | (String[]) |
| grantResults | (int[]) |
|
static |