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:
java.io.Serializable
public class NotEnoughPermissionsException extends java.lang.RuntimeException
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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionType[]
getRequiredPermissions()
java.lang.String[]
getRequiredPermissionsStrings()
-
-
-
Method Detail
-
getRequiredPermissions
public PermissionType[] getRequiredPermissions()
-
getRequiredPermissionsStrings
public java.lang.String[] 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.
-
-