2
<node name="/Connection_Interface_Contact_Info" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3
<tp:copyright> Copyright (C) 2005, 2006 Collabora Limited </tp:copyright>
4
<tp:copyright> Copyright (C) 2005, 2006 Nokia Corporation </tp:copyright>
5
<tp:copyright> Copyright (C) 2006 INdT </tp:copyright>
6
<tp:license xmlns="http://www.w3.org/1999/xhtml">
7
<p>This library is free software; you can redistribute it and/or
8
modify it under the terms of the GNU Lesser General Public
9
License as published by the Free Software Foundation; either
10
version 2.1 of the License, or (at your option) any later version.</p>
12
<p>This library is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
Library General Public License for more details.</p>
17
<p>You should have received a copy of the GNU Lesser General Public
18
License along with this library; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</p>
21
<interface name="org.freedesktop.Telepathy.Connection.Interface.ContactInfo">
22
<tp:requires interface="org.freedesktop.Telepathy.Connection"/>
23
<signal name="GotContactInfo">
24
<arg name="contact" type="u">
26
An integer handle of the contact ID on the server
29
<arg name="vcard" type="s">
31
The XML string containing their vcard information
35
Emitted when information has been received from the server with
36
the details of a particular contact.
39
<method name="RequestContactInfo">
40
<arg direction="in" name="contact" type="u">
42
An integer handle for the contact to request info for
46
Request information for a given contact. The function will return
47
after a GotContactInfo signal has been emitted for the contact, or
51
<tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
52
<tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
53
<tp:error name="org.freedesktop.Telepathy.Error.InvalidHandle"/>
54
<tp:error name="org.freedesktop.Telepathy.Error.PermissionDenied"/>
55
<tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"/>
58
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
59
<p>THIS INTERFACE IS DEPRECATED AND SHOULD NOT BE USED. A new version
60
will be proposed in the 0.13 specification branch.</p>
62
<p>An interface for requesting information about a contact on a given
63
connection. Information is returned as a vCard represented as an XML
64
string, in the format defined by JEP-0054: vcard-temp specifiation
65
from the Jabber Software Foundation (this is derived from the
66
aborted IETF draft draft-dawson-vcard-xml-dtd-01).</p>
68
<p>Implementations using PHOTO or SOUND elements should use the URI encoding
69
where possible, and not provide base64 encoded data to avoid unnecessary
70
bus traffic. Clients should not implement support for these encoded forms.
71
A separate interface will be provided for transferring user avatars.</p>
73
<p>The following extended element names are also added to represent
74
information from other systems which are not based around vCards:</p>
76
<dt>USERNAME</dt><dd>the username of the contact on their local system (used on IRC for example)</dd>
77
<dt>HOSTNAME</dt><dd>the fully qualified hostname, or IPv4 or IPv6 address of the contact in dotted quad or colon-separated form</dd>
82
<!-- vim:set sw=2 sts=2 et ft=xml: -->