Debian Codegraph @

doc/html/gdbus-org.freedesktop.UDisks2.Swapspace.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>org.freedesktop.UDisks2.Swapspace: UDisks Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="UDisks Reference Manual">
8 <link rel="up" href="ch03.html" title="D-Bus Interfaces">
9 <link rel="prev" href="gdbus-org.freedesktop.UDisks2.Filesystem.html" title="org.freedesktop.UDisks2.Filesystem">
10 <link rel="next" href="gdbus-org.freedesktop.UDisks2.Encrypted.html" title="org.freedesktop.UDisks2.Encrypted">
11 <meta name="generator" content="GTK-Doc V1.35.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18 <a href="#gdbus-org.freedesktop.UDisks2.Swapspace.description" class="shortcut">Description</a></span><span id="nav_properties">  <span class="dim">|</span> 
19 <a href="#gdbus-org.freedesktop.UDisks2.Swapspace.properties" class="shortcut">Properties</a></span>
20 </td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="gdbus-org.freedesktop.UDisks2.Filesystem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="gdbus-org.freedesktop.UDisks2.Encrypted.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 </tr></table>
26 <div class="refentry">
27 <a name="gdbus-org.freedesktop.UDisks2.Swapspace"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
29 <td valign="top">
30 <h2><span class="refentrytitle"><a name="gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page"></a>org.freedesktop.UDisks2.Swapspace</span></h2>
31 <p>org.freedesktop.UDisks2.Swapspace — Block device containing swap data</p>
32 </td>
33 <td class="gallery_image" valign="top" align="right"></td>
34 </tr></table></div>
35 <div class="refsynopsisdiv">
36 <h2>Methods</h2>
37 <pre class="synopsis">
38 <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Start" title="The Start() method">Start</a> (IN a{sv} options);
39 <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop" title="The Stop() method">Stop</a> (IN a{sv} options);
40 <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel" title="The SetLabel() method">SetLabel</a> (IN s label,
41 IN a{sv} options);
42 <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID" title="The SetUUID() method">SetUUID</a> (IN s uuid,
43 IN a{sv} options);
44 </pre>
45 </div>
46 <div class="refsect1">
47 <a name="id-1.3.3.10.4"></a><h2>Properties</h2>
48 <pre class="synopsis">
49 <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-property-org-freedesktop-UDisks2-Swapspace.Active" title='The "Active" property'>Active</a> readable b
50 </pre>
51 </div>
52 <div class="refsect1">
53 <a name="gdbus-interface-org-freedesktop-UDisks2-Swapspace"></a><h2>Description</h2>
54 <p>
55 This interface is used for <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a>
56 devices that contain swap space.
57 </p>
58 </div>
59 <div class="refsect1">
60 <a name="gdbus-methods-org.freedesktop.UDisks2.Swapspace"></a><h2>Method Details</h2>
61 <div class="refsect2">
62 <a name="gdbus-method-org-freedesktop-UDisks2-Swapspace.Start"></a><h3>The Start() method</h3>
63 <pre class="programlisting">
64 Start (IN a{sv} options);
65 </pre>
66 <p>
67 Activates the swap device.
68 </p>
69 <div class="variablelist"><table border="0" class="variablelist">
70 <colgroup>
71 <col align="left" valign="top">
72 <col>
73 </colgroup>
74 <tbody><tr>
75 <td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
76 <td><p>
77 Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).
78 </p></td>
79 </tr></tbody>
80 </table></div>
81 </div>
82 <hr>
83 <div class="refsect2">
84 <a name="gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop"></a><h3>The Stop() method</h3>
85 <pre class="programlisting">
86 Stop (IN a{sv} options);
87 </pre>
88 <p>
89 Deactivates the swap device.
90 </p>
91 <div class="variablelist"><table border="0" class="variablelist">
92 <colgroup>
93 <col align="left" valign="top">
94 <col>
95 </colgroup>
96 <tbody><tr>
97 <td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
98 <td><p>
99 Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).
100 </p></td>
101 </tr></tbody>
102 </table></div>
103 </div>
104 <hr>
105 <div class="refsect2">
106 <a name="gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel"></a><h3>The SetLabel() method</h3>
107 <pre class="programlisting">
108 SetLabel (IN s label,
109 IN a{sv} options);
110 </pre>
111 <p>
112 Set label for the swap device.
113 </p>
114 <div class="variablelist"><table border="0" class="variablelist">
115 <colgroup>
116 <col align="left" valign="top">
117 <col>
118 </colgroup>
119 <tbody>
120 <tr>
121 <td><p><span class="term"><code class="literal">IN s <em class="parameter"><code>label</code></em></code>:</span></p></td>
122 <td><p>
123 The label to set.
124 </p></td>
125 </tr>
126 <tr>
127 <td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
128 <td><p>
129 Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).
130 </p></td>
131 </tr>
132 </tbody>
133 </table></div>
134 </div>
135 <hr>
136 <div class="refsect2">
137 <a name="gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID"></a><h3>The SetUUID() method</h3>
138 <pre class="programlisting">
139 SetUUID (IN s uuid,
140 IN a{sv} options);
141 </pre>
142 <p>
143 Set UUID for the swap device.
144 </p>
145 <div class="variablelist"><table border="0" class="variablelist">
146 <colgroup>
147 <col align="left" valign="top">
148 <col>
149 </colgroup>
150 <tbody>
151 <tr>
152 <td><p><span class="term"><code class="literal">IN s <em class="parameter"><code>uuid</code></em></code>:</span></p></td>
153 <td><p>
154 The UUID to set.
155 </p></td>
156 </tr>
157 <tr>
158 <td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
159 <td><p>
160 Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).
161 </p></td>
162 </tr>
163 </tbody>
164 </table></div>
165 <p class="since">Since 2.10.0</p>
166 </div>
167 </div>
168 <div class="refsect1">
169 <a name="gdbus-properties-org.freedesktop.UDisks2.Swapspace"></a><h2>Property Details</h2>
170 <div class="refsect2">
171 <a name="gdbus-property-org-freedesktop-UDisks2-Swapspace.Active"></a><h3>The "Active" property</h3>
172 <pre class="programlisting">
173 Active readable b
174 </pre>
175 <p>
176 Set to <code class="constant">TRUE</code> if the device is currently in use by the OS.
177 </p>
178 </div>
179 </div>
180 </div>
181 <div class="footer">
182 <hr>Generated by GTK-Doc V1.35.1</div>
183 </body>
184 </html>