Added in API level 26

WatchEvent.Kind

public static interface WatchEvent.Kind

java.nio.file.WatchEvent.Kind<T>


An event kind, for the purposes of identification.

Summary

Public methods

abstract String name()

Returns the name of the event kind.

abstract Class<T> type()

Returns the type of the context value.

Public methods

name

Added in API level 26
public abstract String name ()

Returns the name of the event kind.

Returns
String the name of the event kind

type

Added in API level 26
public abstract Class<T> type ()

Returns the type of the context value.

Returns
Class<T> the type of the context value