class RecursiveFileObserver(path: File, onFileChanged: (String) -> Unit)
RecursiveFileObserver
(
path
, onFileChanged
)
|
Signature
constructor(path: File, onFileChanged: (String) -> Unit) Parameters
path:
File
onFileChanged:
Function1
Returns |
onEvent
(
event
, filePath
)
|
Signature
open fun onEvent(event: Int, filePath: String?) Parameters
event:
Int
filePath:
String?
|
startWatching
()
|
Signature
open fun startWatching() |
stopWatching
()
|
Signature
open fun stopWatching() |