1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>MmGdbusModemContactsProxy</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="libmm-glib Reference Manual">
8
<link rel="up" href="pt02.html" title="Part II. Low level API">
9
<link rel="prev" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts">
10
<link rel="next" href="MmGdbusModemContactsSkeleton.html" title="MmGdbusModemContactsSkeleton">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
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="2">
17
<td><a accesskey="p" href="MmGdbusModemContacts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="pt02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">libmm-glib Reference Manual</th>
21
<td><a accesskey="n" href="MmGdbusModemContactsSkeleton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#MmGdbusModemContactsProxy.synopsis" class="shortcut">Top</a>
26
<a href="#MmGdbusModemContactsProxy.description" class="shortcut">Description</a>
28
<a href="#MmGdbusModemContactsProxy.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#MmGdbusModemContactsProxy.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
33
<div class="refentry">
34
<a name="MmGdbusModemContactsProxy"></a><div class="titlepage"></div>
35
<div class="refnamediv"><table width="100%"><tr>
37
<h2><span class="refentrytitle"><a name="MmGdbusModemContactsProxy.top_of_page"></a>MmGdbusModemContactsProxy</span></h2>
38
<p>MmGdbusModemContactsProxy</p>
40
<td valign="top" align="right"></td>
42
<div class="refsynopsisdiv">
43
<a name="MmGdbusModemContactsProxy.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">struct <a class="link" href="MmGdbusModemContactsProxy.html#MmGdbusModemContactsProxy-struct" title="struct MmGdbusModemContactsProxy">MmGdbusModemContactsProxy</a>;
46
<span class="returnvalue">void</span> <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new" title="mm_gdbus_modem_contacts_proxy_new ()">mm_gdbus_modem_contacts_proxy_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
47
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
48
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
49
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
53
<a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-finish" title="mm_gdbus_modem_contacts_proxy_new_finish ()">mm_gdbus_modem_contacts_proxy_new_finish</a>
54
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
56
<span class="returnvalue">void</span> <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus" title="mm_gdbus_modem_contacts_proxy_new_for_bus ()">mm_gdbus_modem_contacts_proxy_new_for_bus</a>
57
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
59
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
60
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
64
<a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus-finish" title="mm_gdbus_modem_contacts_proxy_new_for_bus_finish ()">mm_gdbus_modem_contacts_proxy_new_for_bus_finish</a>
65
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
67
<a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus-sync" title="mm_gdbus_modem_contacts_proxy_new_for_bus_sync ()">mm_gdbus_modem_contacts_proxy_new_for_bus_sync</a>
68
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
70
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
71
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
74
<a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-sync" title="mm_gdbus_modem_contacts_proxy_new_sync ()">mm_gdbus_modem_contacts_proxy_new_sync</a>
75
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
77
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
78
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
79
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
83
<div class="refsect1">
84
<a name="MmGdbusModemContactsProxy.object-hierarchy"></a><h2>Object Hierarchy</h2>
85
<pre class="synopsis">
86
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
87
+----<a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html">GDBusProxy</a>
88
+----MmGdbusModemContactsProxy
91
<div class="refsect1">
92
<a name="MmGdbusModemContactsProxy.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
94
MmGdbusModemContactsProxy implements
95
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a>, <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>, <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a> and <a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts">MmGdbusModemContacts</a>.</p>
97
<div class="refsect1">
98
<a name="MmGdbusModemContactsProxy.description"></a><h2>Description</h2>
102
<div class="refsect1">
103
<a name="MmGdbusModemContactsProxy.details"></a><h2>Details</h2>
104
<div class="refsect2">
105
<a name="MmGdbusModemContactsProxy-struct"></a><h3>struct MmGdbusModemContactsProxy</h3>
106
<pre class="programlisting">struct MmGdbusModemContactsProxy;</pre>
108
The <a class="link" href="MmGdbusModemContactsProxy.html" title="MmGdbusModemContactsProxy"><span class="type">MmGdbusModemContactsProxy</span></a> structure contains only private data and should only be accessed using the provided API.
112
<div class="refsect2">
113
<a name="mm-gdbus-modem-contacts-proxy-new"></a><h3>mm_gdbus_modem_contacts_proxy_new ()</h3>
114
<pre class="programlisting"><span class="returnvalue">void</span> mm_gdbus_modem_contacts_proxy_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
115
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
116
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
117
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
118
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
119
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
120
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
122
Asynchronously creates a proxy for the D-Bus interface org.freedesktop.ModemManager1.Modem.Contacts. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.
125
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
126
You can then call <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-finish" title="mm_gdbus_modem_contacts_proxy_new_finish ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_finish()</code></a> to get the result of the operation.
129
See <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-sync" title="mm_gdbus_modem_contacts_proxy_new_sync ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.
131
<div class="variablelist"><table border="0" class="variablelist">
133
<col align="left" valign="top">
138
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
139
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
142
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
143
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
146
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
147
<td>A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
151
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
152
<td>An object path.</td>
155
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
156
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
160
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
161
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</td>
164
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
165
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
171
<div class="refsect2">
172
<a name="mm-gdbus-modem-contacts-proxy-new-finish"></a><h3>mm_gdbus_modem_contacts_proxy_new_finish ()</h3>
173
<pre class="programlisting"><a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * mm_gdbus_modem_contacts_proxy_new_finish
174
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
175
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
177
Finishes an operation started with <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new" title="mm_gdbus_modem_contacts_proxy_new ()"><code class="function">mm_gdbus_modem_contacts_proxy_new()</code></a>.
179
<div class="variablelist"><table border="0" class="variablelist">
181
<col align="left" valign="top">
186
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
187
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new" title="mm_gdbus_modem_contacts_proxy_new ()"><code class="function">mm_gdbus_modem_contacts_proxy_new()</code></a>.</td>
190
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
191
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
195
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
196
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> MmGdbusModemContactsProxy]</span>
203
<div class="refsect2">
204
<a name="mm-gdbus-modem-contacts-proxy-new-for-bus"></a><h3>mm_gdbus_modem_contacts_proxy_new_for_bus ()</h3>
205
<pre class="programlisting"><span class="returnvalue">void</span> mm_gdbus_modem_contacts_proxy_new_for_bus
206
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
207
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
208
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
209
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
210
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
211
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
212
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
214
Like <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new" title="mm_gdbus_modem_contacts_proxy_new ()"><code class="function">mm_gdbus_modem_contacts_proxy_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
217
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
218
You can then call <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus-finish" title="mm_gdbus_modem_contacts_proxy_new_for_bus_finish ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_for_bus_finish()</code></a> to get the result of the operation.
221
See <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus-sync" title="mm_gdbus_modem_contacts_proxy_new_for_bus_sync ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.
223
<div class="variablelist"><table border="0" class="variablelist">
225
<col align="left" valign="top">
230
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
231
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td>
234
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
235
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
238
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
239
<td>A bus name (well-known or unique).</td>
242
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
243
<td>An object path.</td>
246
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
247
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
251
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
252
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</td>
255
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
256
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
262
<div class="refsect2">
263
<a name="mm-gdbus-modem-contacts-proxy-new-for-bus-finish"></a><h3>mm_gdbus_modem_contacts_proxy_new_for_bus_finish ()</h3>
264
<pre class="programlisting"><a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * mm_gdbus_modem_contacts_proxy_new_for_bus_finish
265
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
266
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
268
Finishes an operation started with <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus" title="mm_gdbus_modem_contacts_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_for_bus()</code></a>.
270
<div class="variablelist"><table border="0" class="variablelist">
272
<col align="left" valign="top">
277
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
278
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus" title="mm_gdbus_modem_contacts_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_for_bus()</code></a>.</td>
281
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
282
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
286
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
287
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> MmGdbusModemContactsProxy]</span>
294
<div class="refsect2">
295
<a name="mm-gdbus-modem-contacts-proxy-new-for-bus-sync"></a><h3>mm_gdbus_modem_contacts_proxy_new_for_bus_sync ()</h3>
296
<pre class="programlisting"><a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * mm_gdbus_modem_contacts_proxy_new_for_bus_sync
297
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
298
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
299
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
300
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
301
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
302
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
304
Like <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-sync" title="mm_gdbus_modem_contacts_proxy_new_sync ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
307
The calling thread is blocked until a reply is received.
310
See <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new-for-bus" title="mm_gdbus_modem_contacts_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_contacts_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.
312
<div class="variablelist"><table border="0" class="variablelist">
314
<col align="left" valign="top">
319
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
320
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td>
323
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
324
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
327
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
328
<td>A bus name (well-known or unique).</td>
331
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
332
<td>An object path.</td>
335
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
336
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
340
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
341
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
345
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
346
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> MmGdbusModemContactsProxy]</span>
353
<div class="refsect2">
354
<a name="mm-gdbus-modem-contacts-proxy-new-sync"></a><h3>mm_gdbus_modem_contacts_proxy_new_sync ()</h3>
355
<pre class="programlisting"><a class="link" href="MmGdbusModemContacts.html" title="MmGdbusModemContacts"><span class="returnvalue">MmGdbusModemContacts</span></a> * mm_gdbus_modem_contacts_proxy_new_sync
356
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
357
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
358
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
359
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
360
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
361
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
363
Synchronously creates a proxy for the D-Bus interface org.freedesktop.ModemManager1.Modem.Contacts. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.
366
The calling thread is blocked until a reply is received.
369
See <a class="link" href="MmGdbusModemContactsProxy.html#mm-gdbus-modem-contacts-proxy-new" title="mm_gdbus_modem_contacts_proxy_new ()"><code class="function">mm_gdbus_modem_contacts_proxy_new()</code></a> for the asynchronous version of this constructor.
371
<div class="variablelist"><table border="0" class="variablelist">
373
<col align="left" valign="top">
378
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
379
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
382
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
383
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
386
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
387
<td>A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
391
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
392
<td>An object path.</td>
395
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
396
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
400
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
401
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
405
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
406
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> MmGdbusModemContactsProxy]</span>
416
Generated by GTK-Doc V1.18.1</div>
b'\\ No newline at end of file'