Interface Permissions



  • public interface Permissions
    A collection of all existing permission types and their states.
    • Method Detail

      • getAllowedBitmask

        int getAllowedBitmask​()
        Gets the integer containing all allowed permission types.
        Returns:
        The integer containing all allowed permission types.
      • getDeniedBitmask

        int getDeniedBitmask​()
        Gets the integer containing all denied permission types.
        Returns:
        The integer containing all denied permission types.
      • getState

        PermissionState getState​(PermissionType type)
        Gets the state of the given type.
        Parameters:
        type - The type.
        Returns:
        The state of the type.
      • isEmpty

        boolean isEmpty​()
        Checks if the all permission types are set to PermissionState.UNSET.
        Returns:
        Whether all permission types are set to UNSET or not.