Added in API level 26

Kind

interface Kind<T : Any!>
java.nio.file.WatchEvent.Kind

An event kind, for the purposes of identification.

Summary

Public methods
abstract String!

Returns the name of the event kind.

abstract Class<T>!

Returns the type of the context value.

Public methods

name

Added in API level 26
abstract fun name(): String!

Returns the name of the event kind.

Return
String! the name of the event kind

type

Added in API level 26
abstract fun type(): Class<T>!

Returns the type of the context value.

Return
Class<T>! the type of the context value