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

# WatchEvent.Modifier


`
public
static


interface
WatchEvent.Modifier
`


`


`

|---|
| java.nio.file.WatchEvent.Modifier |

<br />

*** ** * ** ***

An event modifier that qualifies how a `https://developer.android.com/reference/java/nio/file/Watchable` is registered
with a `https://developer.android.com/reference/java/nio/file/WatchService`.

This release does not define any *standard* modifiers.
**See also:**

- `https://developer.android.com/reference/java/nio/file/Watchable#register(java.nio.file.WatchService,%20java.nio.file.WatchEvent.Kind<?>[])`

## Summary

| ### Public methods ||
|---|---|
| ` abstract https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/nio/file/WatchEvent.Modifier#name()() ` Returns the name of the modifier. |

## Public methods

### name

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

```
public abstract String name ()
```

Returns the name of the modifier.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | the name of the modifier <br /> |