~ubuntu-branches/ubuntu/utopic/telepathy-glib/utopic

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-connection-location.html

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2014-09-16 15:49:50 UTC
  • mfrom: (60.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140916154950-krvowuvofhu8u6sp
Tags: 0.24.1-1
* New upstream stable release
* debian/copyright: clean up syntax (*.[ch] is unsupported),
  drop deleted files
* debian/watch: only match 0.x versions, 1.0 will be a separate
  source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>telepathy-glib API Reference Manual: Connection Location interface</title>
 
5
<title>Connection Location interface</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
8
8
<link rel="up" href="ch-client.html" title="Client-side proxies">
9
9
<link rel="prev" href="telepathy-glib-connection-caps.html" title="Connection ContactCapabilities and Capabilities interfaces">
10
10
<link rel="next" href="telepathy-glib-connection-requests.html" title="Connection Requests interface">
11
 
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
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="10"><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="#telepathy-glib-connection-location.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
 
                  <a href="#telepathy-glib-connection-location.object-hierarchy" class="shortcut">Object Hierarchy</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="ch-client.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
 
<td><a accesskey="p" href="telepathy-glib-connection-caps.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
 
<td><a accesskey="n" href="telepathy-glib-connection-requests.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
 
</tr></table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="telepathy-glib-connection-caps.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch-client.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">telepathy-glib API Reference Manual</th>
 
21
<td><a accesskey="n" href="telepathy-glib-connection-requests.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#telepathy-glib-connection-location.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#telepathy-glib-connection-location.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
26
29
<div class="refentry">
27
30
<a name="telepathy-glib-connection-location"></a><div class="titlepage"></div>
28
31
<div class="refnamediv"><table width="100%"><tr>
30
33
<h2><span class="refentrytitle"><a name="telepathy-glib-connection-location.top_of_page"></a>Connection Location interface</span></h2>
31
34
<p>Connection Location interface — client-side wrappers for the Location interface</p>
32
35
</td>
33
 
<td class="gallery_image" valign="top" align="right"></td>
 
36
<td valign="top" align="right"></td>
34
37
</tr></table></div>
35
 
<div class="refsect1">
36
 
<a name="telepathy-glib-connection-location.functions"></a><h2>Functions</h2>
37
 
<div class="informaltable"><table width="100%" border="0">
38
 
<colgroup>
39
 
<col width="150px" class="functions_return">
40
 
<col class="functions_name">
41
 
</colgroup>
42
 
<tbody>
43
 
<tr>
44
 
<td class="function_type">
45
 
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
46
 
</td>
47
 
<td class="function_name">
48
 
<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-connect-to-location-updated" title="tp_cli_connection_interface_location_connect_to_location_updated ()">tp_cli_connection_interface_location_connect_to_location_updated</a> <span class="c_punctuation">()</span>
49
 
</td>
50
 
</tr>
51
 
<tr>
52
 
<td class="function_type">
53
 
<span class="returnvalue">void</span>
54
 
</td>
55
 
<td class="function_name">
56
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-signal-callback-location-updated" title="tp_cli_connection_interface_location_signal_callback_location_updated ()">*tp_cli_connection_interface_location_signal_callback_location_updated</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
57
 
</td>
58
 
</tr>
59
 
<tr>
60
 
<td class="function_type">
61
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
62
 
</td>
63
 
<td class="function_name">
64
 
<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-get-locations" title="tp_cli_connection_interface_location_call_get_locations ()">tp_cli_connection_interface_location_call_get_locations</a> <span class="c_punctuation">()</span>
65
 
</td>
66
 
</tr>
67
 
<tr>
68
 
<td class="function_type">
69
 
<span class="returnvalue">void</span>
70
 
</td>
71
 
<td class="function_name">
72
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-get-locations" title="tp_cli_connection_interface_location_callback_for_get_locations ()">*tp_cli_connection_interface_location_callback_for_get_locations</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
73
 
</td>
74
 
</tr>
75
 
<tr>
76
 
<td class="function_type">
77
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
78
 
</td>
79
 
<td class="function_name">
80
 
<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-request-location" title="tp_cli_connection_interface_location_call_request_location ()">tp_cli_connection_interface_location_call_request_location</a> <span class="c_punctuation">()</span>
81
 
</td>
82
 
</tr>
83
 
<tr>
84
 
<td class="function_type">
85
 
<span class="returnvalue">void</span>
86
 
</td>
87
 
<td class="function_name">
88
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-request-location" title="tp_cli_connection_interface_location_callback_for_request_location ()">*tp_cli_connection_interface_location_callback_for_request_location</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
89
 
</td>
90
 
</tr>
91
 
<tr>
92
 
<td class="function_type">
93
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
94
 
</td>
95
 
<td class="function_name">
96
 
<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-set-location" title="tp_cli_connection_interface_location_call_set_location ()">tp_cli_connection_interface_location_call_set_location</a> <span class="c_punctuation">()</span>
97
 
</td>
98
 
</tr>
99
 
<tr>
100
 
<td class="function_type">
101
 
<span class="returnvalue">void</span>
102
 
</td>
103
 
<td class="function_name">
104
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-set-location" title="tp_cli_connection_interface_location_callback_for_set_location ()">*tp_cli_connection_interface_location_callback_for_set_location</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
105
 
</td>
106
 
</tr>
107
 
</tbody>
108
 
</table></div>
109
 
</div>
110
 
<div class="refsect1">
111
 
<a name="telepathy-glib-connection-location.object-hierarchy"></a><h2>Object Hierarchy</h2>
112
 
<pre class="screen">
113
 
</pre>
114
 
</div>
115
 
<div class="refsect1">
116
 
<a name="telepathy-glib-connection-location.includes"></a><h2>Includes</h2>
117
 
<pre class="synopsis">#include &lt;telepathy-glib/telepathy-glib-dbus.h&gt;
 
38
<div class="refsynopsisdiv">
 
39
<a name="telepathy-glib-connection-location.synopsis"></a><h2>Synopsis</h2>
 
40
<pre class="synopsis">
 
41
#include &lt;telepathy-glib/telepathy-glib-dbus.h&gt;
 
42
 
 
43
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-connect-to-location-updated" title="tp_cli_connection_interface_location_connect_to_location_updated ()">tp_cli_connection_interface_location_connect_to_location_updated</a>
 
44
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
45
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-signal-callback-location-updated" title="tp_cli_connection_interface_location_signal_callback_location_updated ()"><span class="type">tp_cli_connection_interface_location_signal_callback_location_updated</span></a> callback</code></em>,
 
46
                                                         <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>,
 
47
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
48
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
49
                                                         <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>);
 
50
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-signal-callback-location-updated" title="tp_cli_connection_interface_location_signal_callback_location_updated ()">*tp_cli_connection_interface_location_signal_callback_location_updated</a>)
 
51
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Contact</code></em>,
 
53
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Location</code></em>,
 
54
                                                         <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>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
56
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-get-locations" title="tp_cli_connection_interface_location_call_get_locations ()">tp_cli_connection_interface_location_call_get_locations</a>
 
57
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
58
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
59
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
 
60
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-get-locations" title="tp_cli_connection_interface_location_callback_for_get_locations ()"><span class="type">tp_cli_connection_interface_location_callback_for_get_locations</span></a> callback</code></em>,
 
61
                                                         <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>,
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
64
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-get-locations" title="tp_cli_connection_interface_location_callback_for_get_locations ()">*tp_cli_connection_interface_location_callback_for_get_locations</a>)
 
65
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
66
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Locations</code></em>,
 
67
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
68
                                                         <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>,
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
70
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-request-location" title="tp_cli_connection_interface_location_call_request_location ()">tp_cli_connection_interface_location_call_request_location</a>
 
71
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
72
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
73
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Contact</code></em>,
 
74
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-request-location" title="tp_cli_connection_interface_location_callback_for_request_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_request_location</span></a> callback</code></em>,
 
75
                                                         <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>,
 
76
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
77
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
78
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-request-location" title="tp_cli_connection_interface_location_callback_for_request_location ()">*tp_cli_connection_interface_location_callback_for_request_location</a>)
 
79
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
80
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Location</code></em>,
 
81
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
82
                                                         <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>,
 
83
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
84
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-call-set-location" title="tp_cli_connection_interface_location_call_set_location ()">tp_cli_connection_interface_location_call_set_location</a>
 
85
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
87
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Location</code></em>,
 
88
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-set-location" title="tp_cli_connection_interface_location_callback_for_set_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_set_location</span></a> callback</code></em>,
 
89
                                                         <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>,
 
90
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
91
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
92
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-set-location" title="tp_cli_connection_interface_location_callback_for_set_location ()">*tp_cli_connection_interface_location_callback_for_set_location</a>)
 
93
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
94
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
95
                                                         <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>,
 
96
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
118
97
</pre>
119
98
</div>
120
99
<div class="refsect1">
121
100
<a name="telepathy-glib-connection-location.description"></a><h2>Description</h2>
122
 
<p>Some instant messaging protocols support "rich presence" functionality,
 
101
<p>
 
102
Some instant messaging protocols support "rich presence" functionality,
123
103
such as geolocation (advertising the user's location to authorized
124
 
contacts, and receiving contacts' locations).</p>
125
 
<p>This section documents the auto-generated C wrappers for the
126
 
Location interface, used with <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> objects.</p>
 
104
contacts, and receiving contacts' locations).
 
105
</p>
 
106
<p>
 
107
This section documents the auto-generated C wrappers for the
 
108
Location interface, used with <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> objects.
 
109
</p>
127
110
</div>
128
111
<div class="refsect1">
129
 
<a name="telepathy-glib-connection-location.functions_details"></a><h2>Functions</h2>
 
112
<a name="telepathy-glib-connection-location.details"></a><h2>Details</h2>
130
113
<div class="refsect2">
131
 
<a name="tp-cli-connection-interface-location-connect-to-location-updated"></a><h3>tp_cli_connection_interface_location_connect_to_location_updated ()</h3>
132
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
133
 
tp_cli_connection_interface_location_connect_to_location_updated
134
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
135
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-signal-callback-location-updated" title="tp_cli_connection_interface_location_signal_callback_location_updated ()"><span class="type">tp_cli_connection_interface_location_signal_callback_location_updated</span></a> callback</code></em>,
136
 
                                <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>,
137
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
138
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
139
 
                                <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>
140
 
<p>Connect a handler to the signal LocationUpdated.</p>
141
 
<p>Emitted when a contact's location changes or becomes known.</p>
142
 
<div class="refsect3">
143
 
<a name="id-1.4.15.7.2.6"></a><h4>Parameters</h4>
144
 
<div class="informaltable"><table width="100%" border="0">
 
114
<a name="tp-cli-connection-interface-location-connect-to-location-updated"></a><h3>tp_cli_connection_interface_location_connect_to_location_updated ()</h3>
 
115
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_connection_interface_location_connect_to_location_updated
 
116
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
117
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-signal-callback-location-updated" title="tp_cli_connection_interface_location_signal_callback_location_updated ()"><span class="type">tp_cli_connection_interface_location_signal_callback_location_updated</span></a> callback</code></em>,
 
118
                                                         <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>,
 
119
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
120
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
121
                                                         <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>
 
122
<p>
 
123
Connect a handler to the signal LocationUpdated.
 
124
</p>
 
125
<p>
 
126
Emitted when a contact's location changes or becomes known.
 
127
</p>
 
128
<div class="variablelist"><table border="0" class="variablelist">
145
129
<colgroup>
146
 
<col width="150px" class="parameters_name">
147
 
<col class="parameters_description">
148
 
<col width="200px" class="parameters_annotations">
 
130
<col align="left" valign="top">
 
131
<col>
149
132
</colgroup>
150
133
<tbody>
151
134
<tr>
152
 
<td class="parameter_name"><p>proxy</p></td>
153
 
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</p></td>
154
 
<td class="parameter_annotations"> </td>
155
 
</tr>
156
 
<tr>
157
 
<td class="parameter_name"><p>callback</p></td>
158
 
<td class="parameter_description"><p>Callback to be called when the signal is
159
 
received</p></td>
160
 
<td class="parameter_annotations"> </td>
161
 
</tr>
162
 
<tr>
163
 
<td class="parameter_name"><p>user_data</p></td>
164
 
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
165
 
<td class="parameter_annotations"> </td>
166
 
</tr>
167
 
<tr>
168
 
<td class="parameter_name"><p>destroy</p></td>
169
 
<td class="parameter_description"><p>Destructor for the user-supplied data, which
 
135
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
136
<td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</td>
 
137
</tr>
 
138
<tr>
 
139
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
140
<td>Callback to be called when the signal is
 
141
received</td>
 
142
</tr>
 
143
<tr>
 
144
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
145
<td>User-supplied data for the callback</td>
 
146
</tr>
 
147
<tr>
 
148
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
149
<td>Destructor for the user-supplied data, which
170
150
will be called when this signal is disconnected, or
171
 
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
172
 
<td class="parameter_annotations"> </td>
 
151
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
152
</td>
173
153
</tr>
174
154
<tr>
175
 
<td class="parameter_name"><p>weak_object</p></td>
176
 
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
 
155
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
156
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
177
157
if it is destroyed, this callback will automatically be
178
 
disconnected</p></td>
179
 
<td class="parameter_annotations"> </td>
180
 
</tr>
181
 
<tr>
182
 
<td class="parameter_name"><p>error</p></td>
183
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
184
 
returned</p></td>
185
 
<td class="parameter_annotations"> </td>
186
 
</tr>
187
 
</tbody>
188
 
</table></div>
189
 
</div>
190
 
<div class="refsect3">
191
 
<a name="id-1.4.15.7.2.7"></a><h4>Returns</h4>
192
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
 
158
disconnected</td>
 
159
</tr>
 
160
<tr>
 
161
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
162
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
 
163
returned</td>
 
164
</tr>
 
165
<tr>
 
166
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
167
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
193
168
above, which can be used to disconnect the signal; or
194
169
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
195
 
or has become invalid.</p>
196
 
<p></p>
197
 
</div>
198
 
</div>
199
 
<hr>
200
 
<div class="refsect2">
201
 
<a name="tp-cli-connection-interface-location-signal-callback-location-updated"></a><h3>tp_cli_connection_interface_location_signal_callback_location_updated ()</h3>
202
 
<pre class="programlisting"><span class="returnvalue">void</span>
203
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_location_signal_callback_location_updated<span class="c_punctuation">)</span>
204
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
205
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Contact</code></em>,
206
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Location</code></em>,
207
 
                                <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>,
208
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
209
 
<p>Represents the signature of a callback for the signal LocationUpdated.</p>
210
 
<div class="refsect3">
211
 
<a name="id-1.4.15.7.3.5"></a><h4>Parameters</h4>
212
 
<div class="informaltable"><table width="100%" border="0">
213
 
<colgroup>
214
 
<col width="150px" class="parameters_name">
215
 
<col class="parameters_description">
216
 
<col width="200px" class="parameters_annotations">
217
 
</colgroup>
218
 
<tbody>
219
 
<tr>
220
 
<td class="parameter_name"><p>proxy</p></td>
221
 
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-connect-to-location-updated" title="tp_cli_connection_interface_location_connect_to_location_updated ()"><code class="function">tp_cli_connection_interface_location_connect_to_location_updated()</code></a>
222
 
was called</p></td>
223
 
<td class="parameter_annotations"> </td>
224
 
</tr>
225
 
<tr>
226
 
<td class="parameter_name"><p>arg_Contact</p></td>
227
 
<td class="parameter_description"><p>The contact (<span class="type">TpContactHandle</span>)</p></td>
228
 
<td class="parameter_annotations"> </td>
229
 
</tr>
230
 
<tr>
231
 
<td class="parameter_name"><p>arg_Location</p></td>
232
 
<td class="parameter_description"><p>The contact's location, or empty to indicate that nothing is known           about the contact's location.</p></td>
233
 
<td class="parameter_annotations"> </td>
234
 
</tr>
235
 
<tr>
236
 
<td class="parameter_name"><p>user_data</p></td>
237
 
<td class="parameter_description"><p>User-supplied data</p></td>
238
 
<td class="parameter_annotations"> </td>
239
 
</tr>
240
 
<tr>
241
 
<td class="parameter_name"><p>weak_object</p></td>
242
 
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
243
 
<td class="parameter_annotations"> </td>
244
 
</tr>
245
 
</tbody>
246
 
</table></div>
247
 
</div>
248
 
</div>
249
 
<hr>
250
 
<div class="refsect2">
251
 
<a name="tp-cli-connection-interface-location-call-get-locations"></a><h3>tp_cli_connection_interface_location_call_get_locations ()</h3>
252
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
253
 
tp_cli_connection_interface_location_call_get_locations
254
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
255
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
256
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
257
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-get-locations" title="tp_cli_connection_interface_location_callback_for_get_locations ()"><span class="type">tp_cli_connection_interface_location_callback_for_get_locations</span></a> callback</code></em>,
258
 
                                <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>,
259
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
260
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
261
 
<p>Start a GetLocations method call.</p>
262
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Return the current locations of the given contacts, if they are           already known. If any of the given contacts' locations are not known,           request their current locations, but return immediately without waiting           for a reply; if a reply with a non-empty location is later received           for those contacts, the &lt;tp:member-ref&gt;LocationUpdated&lt;/tp:member-ref&gt;           signal will be emitted for them.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This method is appropriate for &amp;quot;lazy&amp;quot; location finding, for instance             displaying the location (if available) of everyone in your contact             list.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;For backwards compatibility, if this method is called by a client           whose &amp;quot;interest count&amp;quot; for this interface, as defined by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.AddClientInterest&lt;/tp:dbus-ref&gt;, is zero, the           Connection SHOULD behave as if AddClientInterest had been called for           this interface just before that method call. Clients that do not           explicitly call AddClientInterest SHOULD NOT call &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.RemoveClientInterest&lt;/tp:dbus-ref&gt; either.&lt;/p&gt;</p>
263
 
<div class="refsect3">
264
 
<a name="id-1.4.15.7.4.6"></a><h4>Parameters</h4>
265
 
<div class="informaltable"><table width="100%" border="0">
266
 
<colgroup>
267
 
<col width="150px" class="parameters_name">
268
 
<col class="parameters_description">
269
 
<col width="200px" class="parameters_annotations">
270
 
</colgroup>
271
 
<tbody>
272
 
<tr>
273
 
<td class="parameter_name"><p>proxy</p></td>
274
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
275
 
<td class="parameter_annotations"> </td>
276
 
</tr>
277
 
<tr>
278
 
<td class="parameter_name"><p>timeout_ms</p></td>
279
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
280
 
default</p></td>
281
 
<td class="parameter_annotations"> </td>
282
 
</tr>
283
 
<tr>
284
 
<td class="parameter_name"><p>in_Contacts</p></td>
285
 
<td class="parameter_description"><p>Used to pass an 'in' argument: The contacts whose locations should be returned or signalled.</p></td>
286
 
<td class="parameter_annotations"> </td>
287
 
</tr>
288
 
<tr>
289
 
<td class="parameter_name"><p>callback</p></td>
290
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
291
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
292
 
reply tracking</p></td>
293
 
<td class="parameter_annotations"> </td>
294
 
</tr>
295
 
<tr>
296
 
<td class="parameter_name"><p>user_data</p></td>
297
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
298
 
must be <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>callback</code></em>
299
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
300
 
<td class="parameter_annotations"> </td>
301
 
</tr>
302
 
<tr>
303
 
<td class="parameter_name"><p>destroy</p></td>
304
 
<td class="parameter_description"><p>called with the user_data as argument, after the
305
 
call has succeeded, failed or been cancelled;
306
 
must be <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>callback</code></em>
307
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
308
 
<td class="parameter_annotations"> </td>
309
 
</tr>
310
 
<tr>
311
 
<td class="parameter_name"><p>weak_object</p></td>
312
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
313
 
weakly referenced; if it is destroyed, this call
314
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
315
 
<em class="parameter"><code>callback</code></em>
316
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
317
 
<td class="parameter_annotations"> </td>
318
 
</tr>
319
 
</tbody>
320
 
</table></div>
321
 
</div>
322
 
<div class="refsect3">
323
 
<a name="id-1.4.15.7.4.7"></a><h4>Returns</h4>
324
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
325
 
progress. It is borrowed from the object, and will become
326
 
invalid when the callback is called, the call is
327
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
328
 
<p></p>
329
 
</div>
330
 
</div>
331
 
<hr>
332
 
<div class="refsect2">
333
 
<a name="tp-cli-connection-interface-location-callback-for-get-locations"></a><h3>tp_cli_connection_interface_location_callback_for_get_locations ()</h3>
334
 
<pre class="programlisting"><span class="returnvalue">void</span>
335
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_location_callback_for_get_locations<span class="c_punctuation">)</span>
336
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
337
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Locations</code></em>,
338
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
339
 
                                <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>,
340
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
341
 
<p>Signature of the callback called when a GetLocations method call
342
 
succeeds or fails.</p>
343
 
<div class="refsect3">
344
 
<a name="id-1.4.15.7.5.5"></a><h4>Parameters</h4>
345
 
<div class="informaltable"><table width="100%" border="0">
346
 
<colgroup>
347
 
<col width="150px" class="parameters_name">
348
 
<col class="parameters_description">
349
 
<col width="200px" class="parameters_annotations">
350
 
</colgroup>
351
 
<tbody>
352
 
<tr>
353
 
<td class="parameter_name"><p>proxy</p></td>
354
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
355
 
<td class="parameter_annotations"> </td>
356
 
</tr>
357
 
<tr>
358
 
<td class="parameter_name"><p>out_Locations</p></td>
359
 
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
360
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: The contacts' locations, if already known. Contacts whose locations           are not already known are omitted from the mapping; contacts known           to have no location information appear in the mapping with an empty           Location dictionary.</p></td>
361
 
<td class="parameter_annotations"> </td>
362
 
</tr>
363
 
<tr>
364
 
<td class="parameter_name"><p>error</p></td>
365
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
366
 
<td class="parameter_annotations"> </td>
367
 
</tr>
368
 
<tr>
369
 
<td class="parameter_name"><p>user_data</p></td>
370
 
<td class="parameter_description"><p>user-supplied data</p></td>
371
 
<td class="parameter_annotations"> </td>
372
 
</tr>
373
 
<tr>
374
 
<td class="parameter_name"><p>weak_object</p></td>
375
 
<td class="parameter_description"><p>user-supplied object</p></td>
376
 
<td class="parameter_annotations"> </td>
377
 
</tr>
378
 
</tbody>
379
 
</table></div>
380
 
</div>
381
 
</div>
382
 
<hr>
383
 
<div class="refsect2">
384
 
<a name="tp-cli-connection-interface-location-call-request-location"></a><h3>tp_cli_connection_interface_location_call_request_location ()</h3>
385
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
386
 
tp_cli_connection_interface_location_call_request_location
387
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
388
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
389
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Contact</code></em>,
390
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-request-location" title="tp_cli_connection_interface_location_callback_for_request_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_request_location</span></a> callback</code></em>,
391
 
                                <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>,
392
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
393
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
394
 
<p>Start a RequestLocation method call.</p>
395
 
<p>Return the current location of the given contact. If necessary, make         a request to the server for up-to-date information, and wait for a         reply.          &lt;tp:rationale&gt;           This method is appropriate for use in a &amp;quot;Contact Information...&amp;quot;           dialog; it can be used to show progress information (while waiting           for the method to return), and can distinguish between various error           conditions.         &lt;/tp:rationale&gt;</p>
396
 
<div class="refsect3">
397
 
<a name="id-1.4.15.7.6.6"></a><h4>Parameters</h4>
398
 
<div class="informaltable"><table width="100%" border="0">
399
 
<colgroup>
400
 
<col width="150px" class="parameters_name">
401
 
<col class="parameters_description">
402
 
<col width="200px" class="parameters_annotations">
403
 
</colgroup>
404
 
<tbody>
405
 
<tr>
406
 
<td class="parameter_name"><p>proxy</p></td>
407
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
408
 
<td class="parameter_annotations"> </td>
409
 
</tr>
410
 
<tr>
411
 
<td class="parameter_name"><p>timeout_ms</p></td>
412
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
413
 
default</p></td>
414
 
<td class="parameter_annotations"> </td>
415
 
</tr>
416
 
<tr>
417
 
<td class="parameter_name"><p>in_Contact</p></td>
418
 
<td class="parameter_description"><p>Used to pass an 'in' argument: The contact whose location should be returned. (<span class="type">TpContactHandle</span>)</p></td>
419
 
<td class="parameter_annotations"> </td>
420
 
</tr>
421
 
<tr>
422
 
<td class="parameter_name"><p>callback</p></td>
423
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
424
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
425
 
reply tracking</p></td>
426
 
<td class="parameter_annotations"> </td>
427
 
</tr>
428
 
<tr>
429
 
<td class="parameter_name"><p>user_data</p></td>
430
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
431
 
must be <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>callback</code></em>
432
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
433
 
<td class="parameter_annotations"> </td>
434
 
</tr>
435
 
<tr>
436
 
<td class="parameter_name"><p>destroy</p></td>
437
 
<td class="parameter_description"><p>called with the user_data as argument, after the
438
 
call has succeeded, failed or been cancelled;
439
 
must be <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>callback</code></em>
440
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
441
 
<td class="parameter_annotations"> </td>
442
 
</tr>
443
 
<tr>
444
 
<td class="parameter_name"><p>weak_object</p></td>
445
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
446
 
weakly referenced; if it is destroyed, this call
447
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
448
 
<em class="parameter"><code>callback</code></em>
449
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
450
 
<td class="parameter_annotations"> </td>
451
 
</tr>
452
 
</tbody>
453
 
</table></div>
454
 
</div>
455
 
<div class="refsect3">
456
 
<a name="id-1.4.15.7.6.7"></a><h4>Returns</h4>
457
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
458
 
progress. It is borrowed from the object, and will become
459
 
invalid when the callback is called, the call is
460
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
461
 
<p></p>
462
 
</div>
463
 
</div>
464
 
<hr>
465
 
<div class="refsect2">
466
 
<a name="tp-cli-connection-interface-location-callback-for-request-location"></a><h3>tp_cli_connection_interface_location_callback_for_request_location ()</h3>
467
 
<pre class="programlisting"><span class="returnvalue">void</span>
468
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_location_callback_for_request_location<span class="c_punctuation">)</span>
469
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
470
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Location</code></em>,
471
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
472
 
                                <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>,
473
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
474
 
<div class="warning"><p><code class="literal">tp_cli_connection_interface_location_callback_for_request_location</code> is deprecated and should not be used in newly-written code.</p></div>
475
 
<p>Signature of the callback called when a RequestLocation method call
476
 
succeeds or fails.</p>
477
 
<div class="refsect3">
478
 
<a name="id-1.4.15.7.7.6"></a><h4>Parameters</h4>
479
 
<div class="informaltable"><table width="100%" border="0">
480
 
<colgroup>
481
 
<col width="150px" class="parameters_name">
482
 
<col class="parameters_description">
483
 
<col width="200px" class="parameters_annotations">
484
 
</colgroup>
485
 
<tbody>
486
 
<tr>
487
 
<td class="parameter_name"><p>proxy</p></td>
488
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
489
 
<td class="parameter_annotations"> </td>
490
 
</tr>
491
 
<tr>
492
 
<td class="parameter_name"><p>out_Location</p></td>
493
 
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
494
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: The contact's location. It MAY be empty, indicating that no location           information was found.</p></td>
495
 
<td class="parameter_annotations"> </td>
496
 
</tr>
497
 
<tr>
498
 
<td class="parameter_name"><p>error</p></td>
499
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
500
 
<td class="parameter_annotations"> </td>
501
 
</tr>
502
 
<tr>
503
 
<td class="parameter_name"><p>user_data</p></td>
504
 
<td class="parameter_description"><p>user-supplied data</p></td>
505
 
<td class="parameter_annotations"> </td>
506
 
</tr>
507
 
<tr>
508
 
<td class="parameter_name"><p>weak_object</p></td>
509
 
<td class="parameter_description"><p>user-supplied object</p></td>
510
 
<td class="parameter_annotations"> </td>
511
 
</tr>
512
 
</tbody>
513
 
</table></div>
514
 
</div>
515
 
</div>
516
 
<hr>
517
 
<div class="refsect2">
518
 
<a name="tp-cli-connection-interface-location-call-set-location"></a><h3>tp_cli_connection_interface_location_call_set_location ()</h3>
519
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
520
 
tp_cli_connection_interface_location_call_set_location
521
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
522
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
523
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Location</code></em>,
524
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-set-location" title="tp_cli_connection_interface_location_callback_for_set_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_set_location</span></a> callback</code></em>,
525
 
                                <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>,
526
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
527
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
528
 
<p>Start a SetLocation method call.</p>
529
 
<p>Set the local user's own location.</p>
530
 
<div class="refsect3">
531
 
<a name="id-1.4.15.7.8.6"></a><h4>Parameters</h4>
532
 
<div class="informaltable"><table width="100%" border="0">
533
 
<colgroup>
534
 
<col width="150px" class="parameters_name">
535
 
<col class="parameters_description">
536
 
<col width="200px" class="parameters_annotations">
537
 
</colgroup>
538
 
<tbody>
539
 
<tr>
540
 
<td class="parameter_name"><p>proxy</p></td>
541
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
542
 
<td class="parameter_annotations"> </td>
543
 
</tr>
544
 
<tr>
545
 
<td class="parameter_name"><p>timeout_ms</p></td>
546
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
547
 
default</p></td>
548
 
<td class="parameter_annotations"> </td>
549
 
</tr>
550
 
<tr>
551
 
<td class="parameter_name"><p>in_Location</p></td>
552
 
<td class="parameter_description"><p>Used to pass an 'in' argument: The location to advertise. If the user wants to obscure their           exact location by reducing the precision or accuracy, clients           MUST do this themselves, rather than relying on the connection           manager to do so. Clients that interact with more than one           connection SHOULD advertise the same reduced-accuracy location           to all of them, so that contacts cannot obtain an undesirably           accurate location by assuming that random errors have been added           and averaging the locations advertised on multiple connections.</p></td>
553
 
<td class="parameter_annotations"> </td>
554
 
</tr>
555
 
<tr>
556
 
<td class="parameter_name"><p>callback</p></td>
557
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
558
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
559
 
reply tracking</p></td>
560
 
<td class="parameter_annotations"> </td>
561
 
</tr>
562
 
<tr>
563
 
<td class="parameter_name"><p>user_data</p></td>
564
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
565
 
must be <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>callback</code></em>
566
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
567
 
<td class="parameter_annotations"> </td>
568
 
</tr>
569
 
<tr>
570
 
<td class="parameter_name"><p>destroy</p></td>
571
 
<td class="parameter_description"><p>called with the user_data as argument, after the
572
 
call has succeeded, failed or been cancelled;
573
 
must be <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>callback</code></em>
574
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
575
 
<td class="parameter_annotations"> </td>
576
 
</tr>
577
 
<tr>
578
 
<td class="parameter_name"><p>weak_object</p></td>
579
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
580
 
weakly referenced; if it is destroyed, this call
581
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
582
 
<em class="parameter"><code>callback</code></em>
583
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
584
 
<td class="parameter_annotations"> </td>
585
 
</tr>
586
 
</tbody>
587
 
</table></div>
588
 
</div>
589
 
<div class="refsect3">
590
 
<a name="id-1.4.15.7.8.7"></a><h4>Returns</h4>
591
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
592
 
progress. It is borrowed from the object, and will become
593
 
invalid when the callback is called, the call is
594
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
595
 
<p></p>
596
 
</div>
597
 
</div>
598
 
<hr>
599
 
<div class="refsect2">
600
 
<a name="tp-cli-connection-interface-location-callback-for-set-location"></a><h3>tp_cli_connection_interface_location_callback_for_set_location ()</h3>
601
 
<pre class="programlisting"><span class="returnvalue">void</span>
602
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_location_callback_for_set_location<span class="c_punctuation">)</span>
603
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
604
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
605
 
                                <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>,
606
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
607
 
<div class="warning"><p><code class="literal">tp_cli_connection_interface_location_callback_for_set_location</code> is deprecated and should not be used in newly-written code.</p></div>
608
 
<p>Signature of the callback called when a SetLocation method call
609
 
succeeds or fails.</p>
610
 
<div class="refsect3">
611
 
<a name="id-1.4.15.7.9.6"></a><h4>Parameters</h4>
612
 
<div class="informaltable"><table width="100%" border="0">
613
 
<colgroup>
614
 
<col width="150px" class="parameters_name">
615
 
<col class="parameters_description">
616
 
<col width="200px" class="parameters_annotations">
617
 
</colgroup>
618
 
<tbody>
619
 
<tr>
620
 
<td class="parameter_name"><p>proxy</p></td>
621
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
622
 
<td class="parameter_annotations"> </td>
623
 
</tr>
624
 
<tr>
625
 
<td class="parameter_name"><p>error</p></td>
626
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
627
 
<td class="parameter_annotations"> </td>
628
 
</tr>
629
 
<tr>
630
 
<td class="parameter_name"><p>user_data</p></td>
631
 
<td class="parameter_description"><p>user-supplied data</p></td>
632
 
<td class="parameter_annotations"> </td>
633
 
</tr>
634
 
<tr>
635
 
<td class="parameter_name"><p>weak_object</p></td>
636
 
<td class="parameter_description"><p>user-supplied object</p></td>
637
 
<td class="parameter_annotations"> </td>
638
 
</tr>
639
 
</tbody>
640
 
</table></div>
641
 
</div>
642
 
</div>
643
 
</div>
644
 
<div class="refsect1">
645
 
<a name="telepathy-glib-connection-location.other_details"></a><h2>Types and Values</h2>
 
170
or has become invalid.</td>
 
171
</tr>
 
172
</tbody>
 
173
</table></div>
 
174
</div>
 
175
<hr>
 
176
<div class="refsect2">
 
177
<a name="tp-cli-connection-interface-location-signal-callback-location-updated"></a><h3>tp_cli_connection_interface_location_signal_callback_location_updated ()</h3>
 
178
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_location_signal_callback_location_updated)
 
179
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
180
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Contact</code></em>,
 
181
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Location</code></em>,
 
182
                                                         <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>,
 
183
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
184
<p>
 
185
Represents the signature of a callback for the signal LocationUpdated.
 
186
</p>
 
187
<div class="variablelist"><table border="0" class="variablelist">
 
188
<colgroup>
 
189
<col align="left" valign="top">
 
190
<col>
 
191
</colgroup>
 
192
<tbody>
 
193
<tr>
 
194
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
195
<td>The proxy on which <a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-connect-to-location-updated" title="tp_cli_connection_interface_location_connect_to_location_updated ()"><code class="function">tp_cli_connection_interface_location_connect_to_location_updated()</code></a>
 
196
was called</td>
 
197
</tr>
 
198
<tr>
 
199
<td><p><span class="term"><em class="parameter"><code>arg_Contact</code></em> :</span></p></td>
 
200
<td>The contact (<span class="type">TpContactHandle</span>)</td>
 
201
</tr>
 
202
<tr>
 
203
<td><p><span class="term"><em class="parameter"><code>arg_Location</code></em> :</span></p></td>
 
204
<td>The contact's location, or empty to indicate that nothing is known           about the contact's location.</td>
 
205
</tr>
 
206
<tr>
 
207
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
208
<td>User-supplied data</td>
 
209
</tr>
 
210
<tr>
 
211
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
212
<td>User-supplied weakly referenced object</td>
 
213
</tr>
 
214
</tbody>
 
215
</table></div>
 
216
</div>
 
217
<hr>
 
218
<div class="refsect2">
 
219
<a name="tp-cli-connection-interface-location-call-get-locations"></a><h3>tp_cli_connection_interface_location_call_get_locations ()</h3>
 
220
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_location_call_get_locations
 
221
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
222
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
223
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
 
224
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-get-locations" title="tp_cli_connection_interface_location_callback_for_get_locations ()"><span class="type">tp_cli_connection_interface_location_callback_for_get_locations</span></a> callback</code></em>,
 
225
                                                         <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>,
 
226
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
227
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
228
<p>
 
229
Start a GetLocations method call.
 
230
</p>
 
231
<p>
 
232
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Return the current locations of the given contacts, if they are           already known. If any of the given contacts' locations are not known,           request their current locations, but return immediately without waiting           for a reply; if a reply with a non-empty location is later received           for those contacts, the &lt;tp:member-ref&gt;LocationUpdated&lt;/tp:member-ref&gt;           signal will be emitted for them.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This method is appropriate for &amp;quot;lazy&amp;quot; location finding, for instance             displaying the location (if available) of everyone in your contact             list.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;For backwards compatibility, if this method is called by a client           whose &amp;quot;interest count&amp;quot; for this interface, as defined by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.AddClientInterest&lt;/tp:dbus-ref&gt;, is zero, the           Connection SHOULD behave as if AddClientInterest had been called for           this interface just before that method call. Clients that do not           explicitly call AddClientInterest SHOULD NOT call &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.RemoveClientInterest&lt;/tp:dbus-ref&gt; either.&lt;/p&gt;
 
233
</p>
 
234
<div class="variablelist"><table border="0" class="variablelist">
 
235
<colgroup>
 
236
<col align="left" valign="top">
 
237
<col>
 
238
</colgroup>
 
239
<tbody>
 
240
<tr>
 
241
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
242
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
243
</td>
 
244
</tr>
 
245
<tr>
 
246
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
247
<td>the timeout in milliseconds, or -1 to use the
 
248
default</td>
 
249
</tr>
 
250
<tr>
 
251
<td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
 
252
<td>Used to pass an 'in' argument: The contacts whose locations should be returned or signalled.</td>
 
253
</tr>
 
254
<tr>
 
255
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
256
<td>called when the method call succeeds or fails;
 
257
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
258
reply tracking</td>
 
259
</tr>
 
260
<tr>
 
261
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
262
<td>user-supplied data passed to the callback;
 
263
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
264
</td>
 
265
</tr>
 
266
<tr>
 
267
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
268
<td>called with the user_data as argument, after the
 
269
call has succeeded, failed or been cancelled;
 
270
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
271
</td>
 
272
</tr>
 
273
<tr>
 
274
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
275
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
276
weakly referenced; if it is destroyed, this call
 
277
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
278
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
279
</td>
 
280
</tr>
 
281
<tr>
 
282
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
283
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
284
progress. It is borrowed from the object, and will become
 
285
invalid when the callback is called, the call is
 
286
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
287
</tr>
 
288
</tbody>
 
289
</table></div>
 
290
</div>
 
291
<hr>
 
292
<div class="refsect2">
 
293
<a name="tp-cli-connection-interface-location-callback-for-get-locations"></a><h3>tp_cli_connection_interface_location_callback_for_get_locations ()</h3>
 
294
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_location_callback_for_get_locations)
 
295
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
296
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Locations</code></em>,
 
297
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
298
                                                         <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>,
 
299
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
300
<p>
 
301
Signature of the callback called when a GetLocations method call
 
302
succeeds or fails.
 
303
</p>
 
304
<div class="variablelist"><table border="0" class="variablelist">
 
305
<colgroup>
 
306
<col align="left" valign="top">
 
307
<col>
 
308
</colgroup>
 
309
<tbody>
 
310
<tr>
 
311
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
312
<td>the proxy on which the call was made</td>
 
313
</tr>
 
314
<tr>
 
315
<td><p><span class="term"><em class="parameter"><code>out_Locations</code></em> :</span></p></td>
 
316
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: The contacts' locations, if already known. Contacts whose locations           are not already known are omitted from the mapping; contacts known           to have no location information appear in the mapping with an empty           Location dictionary.</td>
 
317
</tr>
 
318
<tr>
 
319
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
320
<td>
 
321
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
322
</tr>
 
323
<tr>
 
324
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
325
<td>user-supplied data</td>
 
326
</tr>
 
327
<tr>
 
328
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
329
<td>user-supplied object</td>
 
330
</tr>
 
331
</tbody>
 
332
</table></div>
 
333
</div>
 
334
<hr>
 
335
<div class="refsect2">
 
336
<a name="tp-cli-connection-interface-location-call-request-location"></a><h3>tp_cli_connection_interface_location_call_request_location ()</h3>
 
337
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_location_call_request_location
 
338
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
339
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
340
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Contact</code></em>,
 
341
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-request-location" title="tp_cli_connection_interface_location_callback_for_request_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_request_location</span></a> callback</code></em>,
 
342
                                                         <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>,
 
343
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
344
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
345
<p>
 
346
Start a RequestLocation method call.
 
347
</p>
 
348
<p>
 
349
Return the current location of the given contact. If necessary, make         a request to the server for up-to-date information, and wait for a         reply.          &lt;tp:rationale&gt;           This method is appropriate for use in a &amp;quot;Contact Information...&amp;quot;           dialog; it can be used to show progress information (while waiting           for the method to return), and can distinguish between various error           conditions.         &lt;/tp:rationale&gt;
 
350
</p>
 
351
<div class="variablelist"><table border="0" class="variablelist">
 
352
<colgroup>
 
353
<col align="left" valign="top">
 
354
<col>
 
355
</colgroup>
 
356
<tbody>
 
357
<tr>
 
358
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
359
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
360
</td>
 
361
</tr>
 
362
<tr>
 
363
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
364
<td>the timeout in milliseconds, or -1 to use the
 
365
default</td>
 
366
</tr>
 
367
<tr>
 
368
<td><p><span class="term"><em class="parameter"><code>in_Contact</code></em> :</span></p></td>
 
369
<td>Used to pass an 'in' argument: The contact whose location should be returned. (<span class="type">TpContactHandle</span>)</td>
 
370
</tr>
 
371
<tr>
 
372
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
373
<td>called when the method call succeeds or fails;
 
374
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
375
reply tracking</td>
 
376
</tr>
 
377
<tr>
 
378
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
379
<td>user-supplied data passed to the callback;
 
380
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
381
</td>
 
382
</tr>
 
383
<tr>
 
384
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
385
<td>called with the user_data as argument, after the
 
386
call has succeeded, failed or been cancelled;
 
387
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
388
</td>
 
389
</tr>
 
390
<tr>
 
391
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
392
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
393
weakly referenced; if it is destroyed, this call
 
394
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
395
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
396
</td>
 
397
</tr>
 
398
<tr>
 
399
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
400
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
401
progress. It is borrowed from the object, and will become
 
402
invalid when the callback is called, the call is
 
403
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
404
</tr>
 
405
</tbody>
 
406
</table></div>
 
407
</div>
 
408
<hr>
 
409
<div class="refsect2">
 
410
<a name="tp-cli-connection-interface-location-callback-for-request-location"></a><h3>tp_cli_connection_interface_location_callback_for_request_location ()</h3>
 
411
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_location_callback_for_request_location)
 
412
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
413
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Location</code></em>,
 
414
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
415
                                                         <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>,
 
416
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
417
<p>
 
418
Signature of the callback called when a RequestLocation method call
 
419
succeeds or fails.
 
420
</p>
 
421
<div class="variablelist"><table border="0" class="variablelist">
 
422
<colgroup>
 
423
<col align="left" valign="top">
 
424
<col>
 
425
</colgroup>
 
426
<tbody>
 
427
<tr>
 
428
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
429
<td>the proxy on which the call was made</td>
 
430
</tr>
 
431
<tr>
 
432
<td><p><span class="term"><em class="parameter"><code>out_Location</code></em> :</span></p></td>
 
433
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: The contact's location. It MAY be empty, indicating that no location           information was found.</td>
 
434
</tr>
 
435
<tr>
 
436
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
437
<td>
 
438
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
439
</tr>
 
440
<tr>
 
441
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
442
<td>user-supplied data</td>
 
443
</tr>
 
444
<tr>
 
445
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
446
<td>user-supplied object</td>
 
447
</tr>
 
448
</tbody>
 
449
</table></div>
 
450
</div>
 
451
<hr>
 
452
<div class="refsect2">
 
453
<a name="tp-cli-connection-interface-location-call-set-location"></a><h3>tp_cli_connection_interface_location_call_set_location ()</h3>
 
454
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_location_call_set_location
 
455
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
456
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
457
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Location</code></em>,
 
458
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-location.html#tp-cli-connection-interface-location-callback-for-set-location" title="tp_cli_connection_interface_location_callback_for_set_location ()"><span class="type">tp_cli_connection_interface_location_callback_for_set_location</span></a> callback</code></em>,
 
459
                                                         <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>,
 
460
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
461
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
462
<p>
 
463
Start a SetLocation method call.
 
464
</p>
 
465
<p>
 
466
Set the local user's own location.
 
467
</p>
 
468
<div class="variablelist"><table border="0" class="variablelist">
 
469
<colgroup>
 
470
<col align="left" valign="top">
 
471
<col>
 
472
</colgroup>
 
473
<tbody>
 
474
<tr>
 
475
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
476
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
477
</td>
 
478
</tr>
 
479
<tr>
 
480
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
481
<td>the timeout in milliseconds, or -1 to use the
 
482
default</td>
 
483
</tr>
 
484
<tr>
 
485
<td><p><span class="term"><em class="parameter"><code>in_Location</code></em> :</span></p></td>
 
486
<td>Used to pass an 'in' argument: The location to advertise. If the user wants to obscure their           exact location by reducing the precision or accuracy, clients           MUST do this themselves, rather than relying on the connection           manager to do so. Clients that interact with more than one           connection SHOULD advertise the same reduced-accuracy location           to all of them, so that contacts cannot obtain an undesirably           accurate location by assuming that random errors have been added           and averaging the locations advertised on multiple connections.</td>
 
487
</tr>
 
488
<tr>
 
489
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
490
<td>called when the method call succeeds or fails;
 
491
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
492
reply tracking</td>
 
493
</tr>
 
494
<tr>
 
495
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
496
<td>user-supplied data passed to the callback;
 
497
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
498
</td>
 
499
</tr>
 
500
<tr>
 
501
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
502
<td>called with the user_data as argument, after the
 
503
call has succeeded, failed or been cancelled;
 
504
must be <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>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
505
</td>
 
506
</tr>
 
507
<tr>
 
508
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
509
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
510
weakly referenced; if it is destroyed, this call
 
511
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
512
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
513
</td>
 
514
</tr>
 
515
<tr>
 
516
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
517
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
518
progress. It is borrowed from the object, and will become
 
519
invalid when the callback is called, the call is
 
520
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
521
</tr>
 
522
</tbody>
 
523
</table></div>
 
524
</div>
 
525
<hr>
 
526
<div class="refsect2">
 
527
<a name="tp-cli-connection-interface-location-callback-for-set-location"></a><h3>tp_cli_connection_interface_location_callback_for_set_location ()</h3>
 
528
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_location_callback_for_set_location)
 
529
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
530
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
531
                                                         <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>,
 
532
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
533
<p>
 
534
Signature of the callback called when a SetLocation method call
 
535
succeeds or fails.
 
536
</p>
 
537
<div class="variablelist"><table border="0" class="variablelist">
 
538
<colgroup>
 
539
<col align="left" valign="top">
 
540
<col>
 
541
</colgroup>
 
542
<tbody>
 
543
<tr>
 
544
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
545
<td>the proxy on which the call was made</td>
 
546
</tr>
 
547
<tr>
 
548
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
549
<td>
 
550
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
551
</tr>
 
552
<tr>
 
553
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
554
<td>user-supplied data</td>
 
555
</tr>
 
556
<tr>
 
557
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
558
<td>user-supplied object</td>
 
559
</tr>
 
560
</tbody>
 
561
</table></div>
 
562
</div>
646
563
</div>
647
564
<div class="refsect1">
648
565
<a name="telepathy-glib-connection-location.see-also"></a><h2>See Also</h2>
649
 
<p><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a></p>
 
566
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>
650
567
</div>
651
568
</div>
652
569
<div class="footer">
653
570
<hr>
654
 
          Generated by GTK-Doc V1.20</div>
 
571
          Generated by GTK-Doc V1.19</div>
655
572
</body>
656
573
</html>
 
 
b'\\ No newline at end of file'