Kind

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

An event kind, for the purposes of identification.
Requires API level 26 (Android 8.0, Oreo)

Summary

Public methods
abstract Class<T>!

Returns the type of the context value.

abstract String!

Returns the name of the event kind.

Public methods

type

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

Returns the type of the context value.
Requires API level 26 (Android 8.0, Oreo)

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

name

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

Returns the name of the event kind.
Requires API level 26 (Android 8.0, Oreo)

Return
String!: the name of the event kind