Package com.medm.devicekit
Class NotEnoughPermissionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.medm.devicekit.NotEnoughPermissionsException
- All Implemented Interfaces:
Serializable
Indicates that there are not enough permissions to run current operation.
Note that the permissions list might not be complete since in order to check if location services are enabled CoarseLocation permission is required.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getRequiredPermissions
-
getRequiredPermissionsStrings
- Returns:
- array of
Manifest.permission
strings required. It can be used to request these permissions. Only ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION, BLUETOOTH_SCAN, BLUETOOTH_CONNECT strings will be returned.
-