1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
pub(crate) const DESTINATION: &str = "org.freedesktop.portal.Desktop";
pub(crate) const PATH: &str = "/org/freedesktop/portal/desktop";

mod handle_token;
pub(crate) mod request;
mod session;
pub(crate) use self::handle_token::HandleToken;
pub use self::request::ResponseError;
pub use self::session::SessionProxy;

/// Request access to the current logged user information such as the id, name
/// or their avatar uri.
pub mod account;

/// Request running an application in the background.
pub mod background;

/// Check if a camera is available, request access to it and open a PipeWire
/// remote stream.
pub mod camera;

/// Request access to specific devices such as camera, speakers or microphone.
pub mod device;

/// Compose an email.
pub mod email;

/// Open/save file(s) chooser.
pub mod file_chooser;

/// Enable/disable/query the status of Game Mode.
pub mod game_mode;

/// Inhibit the session from being restarted or the user from logging out.
pub mod inhibit;

/// Query the user's GPS location.
pub mod location;

/// Monitor memory level.
pub mod memory_monitor;

/// Check the status of the network on a user's machine.
pub mod network_monitor;

/// Send/withdraw notifications.
pub mod notification;

/// Open a file or a directory.
pub mod open_uri;

/// Print a document.
pub mod print;

/// Proxy information.
pub mod proxy_resolver;

/// Start a remote desktop session and interact with it.
pub mod remote_desktop;

/// Start a screencast session and get the PipeWire remote of it.
pub mod screencast;

/// Take a screenshot or pick a color.
pub mod screenshot;

/// Retrieve a per-application secret used to encrypt confidential data inside
/// the sandbox.
pub mod secret;

/// Read & listen to system settings changes.
pub mod settings;

/// Move a file to the trash.
pub mod trash;

/// Set a wallpaper on lockscreen, background or both.
pub mod wallpaper;