FileMonitorEvent
- class FileMonitorEvent
Specifies what type of event a monitor event is.
Fields
- class FileMonitorEvent
- ATTRIBUTE_CHANGED
A file attribute was changed.
- CHANGED
A file changed.
- CHANGES_DONE_HINT
A hint that this was probably the last change in a set of changes.
- CREATED
A file was created.
- DELETED
A file was deleted.
- MOVED
The file was moved – only sent if the (deprecated)
SEND_MOVED
flag is set
- MOVED_IN
The file was moved into the monitored directory from another location – only sent if the
WATCH_MOVES
flag is set. Since: 2.46.
- MOVED_OUT
The file was moved out of the monitored directory to another location – only sent if the
WATCH_MOVES
flag is set. Since: 2.46
- PRE_UNMOUNT
The file location will soon be unmounted.
- RENAMED
The file was renamed within the current directory – only sent if the
WATCH_MOVES
flag is set. Since: 2.46.
- UNMOUNTED
The file location was unmounted.