Class NotEnoughPermissionsException

All Implemented Interfaces:
Serializable

public class NotEnoughPermissionsException extends 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:
  • Method Details

    • getRequiredPermissions

      public PermissionType[] getRequiredPermissions()
    • getRequiredPermissionsStrings

      public 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.