Helper to ask camera permission.
Definition at line 28 of file PermissionHelper.java.
static boolean com.introlab.rtabmap.PermissionHelper.hasPermission |
( |
Activity |
activity, |
|
|
String |
permission |
|
) |
| |
|
inlinestatic |
static void com.introlab.rtabmap.PermissionHelper.launchPermissionSettings |
( |
Activity |
activity | ) |
|
|
inlinestatic |
static void com.introlab.rtabmap.PermissionHelper.requestPermission |
( |
Activity |
activity, |
|
|
String |
permission |
|
) |
| |
|
inlinestatic |
Check to see we have the necessary permissions for this app, and ask for them if we don't.
Definition at line 43 of file PermissionHelper.java.
static boolean com.introlab.rtabmap.PermissionHelper.shouldShowRequestPermissionRationale |
( |
Activity |
activity, |
|
|
String |
permission |
|
) |
| |
|
inlinestatic |
Check to see if we need to show the rationale for this permission.
Definition at line 68 of file PermissionHelper.java.
final int com.introlab.rtabmap.PermissionHelper.ACCESS_FINE_LOCATION_CODE = 5 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.ACCESS_NETWORK_STATE_CODE = 4 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.ACCESS_WIFI_STATE_CODE = 6 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.CAMERA_CODE = 0 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.INTERNET_CODE = 3 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.READ_EXTERNAL_STORAGE_CODE = 1 |
|
static |
final int com.introlab.rtabmap.PermissionHelper.WRITE_EXTERNAL_STORAGE_CODE = 2 |
|
static |
The documentation for this class was generated from the following file: