# AclEntryType

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# AclEntryType

```
class AclEntryType
```

|---|---|------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                  |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[java.nio.file.attribute.AclEntryType](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#)\> ||
|   | ↳ | [java.nio.file.attribute.AclEntryType](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#) |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [AclEntryType.ALARM](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALARM),[AclEntryType.ALLOW](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALLOW),[AclEntryType.AUDIT](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:AUDIT),[AclEntryType.DENY](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:DENY) |----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------| | [AclEntryType.ALARM](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALARM) | Generate an alarm, in a system dependent way, the access specified in the permissions component of the ACL entry. | | [AclEntryType.ALLOW](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALLOW) | Explicitly grants access to a file or directory.                                                                  | | [AclEntryType.AUDIT](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:AUDIT) | Log, in a system dependent way, the access specified in the permissions component of the ACL entry.               | | [AclEntryType.DENY](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:DENY)   | Explicitly denies access to a file or directory.                                                                  | |

A typesafe enumeration of the access control entry types.

## Summary

|                                                                                                            Enum values                                                                                                             ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [ALARM](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALARM) Generate an alarm, in a system dependent way, the access specified in the permissions component of the ACL entry. |
| [ALLOW](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:ALLOW) Explicitly grants access to a file or directory.                                                                  |
| [AUDIT](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:AUDIT) Log, in a system dependent way, the access specified in the permissions component of the ACL entry.               |
| [DENY](https://developer.android.com/reference/kotlin/java/nio/file/attribute/AclEntryType#ENUM_VALUE:DENY) Explicitly denies access to a file or directory.                                                                    |

## Enum values

### ALARM

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val ALARM : AclEntryType
```

Generate an alarm, in a system dependent way, the access specified in the permissions component of the ACL entry.  

### ALLOW

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val ALLOW : AclEntryType
```

Explicitly grants access to a file or directory.  

### AUDIT

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val AUDIT : AclEntryType
```

Log, in a system dependent way, the access specified in the permissions component of the ACL entry.  

### DENY

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val DENY : AclEntryType
```

Explicitly denies access to a file or directory.