Package org.gnome.gio

Class VolumeMonitor

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
NativeVolumeMonitor

@Generated("io.github.jwharm.JavaGI") public class VolumeMonitor extends GObject
GVolumeMonitor is for listing the user interesting devices and volumes on the computer. In other words, what a file selector or file manager would show in a sidebar.

GVolumeMonitor is not thread-default-context aware (see MainContext.pushThreadDefault()), and so should not be used other than from the main thread, with no thread-default-context active.

In order to receive updates about volumes and mounts monitored through GVFS, a main loop must be running.