Class NotEnoughPermissionsException

  • All Implemented Interfaces:

    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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getRequiredPermissions

        public PermissionType[] getRequiredPermissions()
      • getRequiredPermissionsStrings

        public java.lang.String[] getRequiredPermissionsStrings()
        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.