Memory Monitorπ
Descriptionπ
Memory monitoring portal
The Memory Monitor interface provides information about low system memory to sandboxed applications. It is not a portal in the strict sense, since it does not involve user interaction. Applications are expected to use this interface indirectly, via a library API such as the GLib GMemoryMonitor interface.
This documentation describes version 1 of this interface.
Propertiesπ
org.freedesktop.portal.MemoryMonitor:versionπ
version readable u
Signalsπ
org.freedesktop.portal.MemoryMonitor::LowMemoryWarningπ
LowMemoryWarning (
level y
)
Signal emitted when a particular low memory situation happens with 0 being the lowest level of memory availability warning, and 255 being the highest. Those levels are defined and documented in Low Memory Monitorβs documentation.
- level
An integer representing the level of low memory warning.