Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
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