Package-level declarations
Types
Properties
Empty D-Bus options map, reusable across portals.
D-Bus object path for the desktop portal.
Option key for the request handle token. Used to identify the request object path.
Option key for persist mode. Controls how long permissions persist.
Option key for restore token. Used to restore a previous session.
Option key for the session handle token. Used in portal CreateSession methods.
Option key for types bitmask (device types, source types, etc.). Used in SelectDevices, SelectSources, and similar portal methods.
Result key for restore token returned in Start response.
Result key for the session handle returned in responses.
Prefix used for all portal request tokens.
Functions
Generates a unique token for portal request handles. The token is used as the last element of a handle path: /org/freedesktop/portal/desktop/request/SENDER/TOKEN Reference: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Request.html
Whether the application is running inside any sandbox (Snap or Flatpak). This is a somewhat naive detection. Is there a more reliable method?