31
37
<h2><span class="refentrytitle"><a name="telepathy-glib-capabilities.top_of_page"></a>TpCapabilities</span></h2>
32
38
<p>TpCapabilities — object representing capabilities</p>
34
<td class="gallery_image" valign="top" align="right"></td>
40
<td valign="top" align="right"></td>
35
41
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="telepathy-glib-capabilities.synopsis"></a><h2>Synopsis</h2>
44
<a name="TpCapabilities"></a><pre class="synopsis">
45
#include <telepathy-glib/telepathy-glib.h>
47
<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities-struct" title="TpCapabilities">TpCapabilities</a>;
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-get-channel-classes" title="tp_capabilities_get_channel_classes ()">tp_capabilities_get_channel_classes</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-dup-channel-classes-variant" title="tp_capabilities_dup_channel_classes_variant ()">tp_capabilities_dup_channel_classes_variant</a>
50
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-is-specific-to-contact" title="tp_capabilities_is_specific_to_contact ()">tp_capabilities_is_specific_to_contact</a>
52
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
53
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-text-chatrooms" title="tp_capabilities_supports_text_chatrooms ()">tp_capabilities_supports_text_chatrooms</a>
54
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-text-chats" title="tp_capabilities_supports_text_chats ()">tp_capabilities_supports_text_chats</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-sms" title="tp_capabilities_supports_sms ()">tp_capabilities_supports_sms</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-audio-call" title="tp_capabilities_supports_audio_call ()">tp_capabilities_supports_audio_call</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
58
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-audio-video-call" title="tp_capabilities_supports_audio_video_call ()">tp_capabilities_supports_audio_video_call</a>
60
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
61
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()">tp_capabilities_supports_file_transfer</a>
63
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-description" title="tp_capabilities_supports_file_transfer_description ()">tp_capabilities_supports_file_transfer_description</a>
65
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-initial-offset" title="tp_capabilities_supports_file_transfer_initial_offset ()">tp_capabilities_supports_file_transfer_initial_offset</a>
67
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-timestamp" title="tp_capabilities_supports_file_transfer_timestamp ()">tp_capabilities_supports_file_transfer_timestamp</a>
69
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-uri" title="tp_capabilities_supports_file_transfer_uri ()">tp_capabilities_supports_file_transfer_uri</a>
71
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);
72
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-stream-tubes" title="tp_capabilities_supports_stream_tubes ()">tp_capabilities_supports_stream_tubes</a>
73
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
74
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
75
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>);
76
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-dbus-tubes" title="tp_capabilities_supports_dbus_tubes ()">tp_capabilities_supports_dbus_tubes</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
77
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
78
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service_name</code></em>);
79
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-contact-search" title="tp_capabilities_supports_contact_search ()">tp_capabilities_supports_contact_search</a>
80
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_limit</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);
83
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-room-list" title="tp_capabilities_supports_room_list ()">tp_capabilities_supports_room_list</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);
36
87
<div class="refsect1">
37
<a name="telepathy-glib-capabilities.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
48
<td class="function_name">
49
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-get-channel-classes" title="tp_capabilities_get_channel_classes ()">tp_capabilities_get_channel_classes</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
56
<td class="function_name">
57
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-dup-channel-classes-variant" title="tp_capabilities_dup_channel_classes_variant ()">tp_capabilities_dup_channel_classes_variant</a> <span class="c_punctuation">()</span>
61
<td class="function_type">
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
64
<td class="function_name">
65
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-is-specific-to-contact" title="tp_capabilities_is_specific_to_contact ()">tp_capabilities_is_specific_to_contact</a> <span class="c_punctuation">()</span>
69
<td class="function_type">
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
72
<td class="function_name">
73
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-text-chatrooms" title="tp_capabilities_supports_text_chatrooms ()">tp_capabilities_supports_text_chatrooms</a> <span class="c_punctuation">()</span>
77
<td class="function_type">
78
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
80
<td class="function_name">
81
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-text-chats" title="tp_capabilities_supports_text_chats ()">tp_capabilities_supports_text_chats</a> <span class="c_punctuation">()</span>
85
<td class="function_type">
86
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
88
<td class="function_name">
89
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-sms" title="tp_capabilities_supports_sms ()">tp_capabilities_supports_sms</a> <span class="c_punctuation">()</span>
93
<td class="function_type">
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
96
<td class="function_name">
97
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-audio-call" title="tp_capabilities_supports_audio_call ()">tp_capabilities_supports_audio_call</a> <span class="c_punctuation">()</span>
101
<td class="function_type">
102
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
104
<td class="function_name">
105
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-audio-video-call" title="tp_capabilities_supports_audio_video_call ()">tp_capabilities_supports_audio_video_call</a> <span class="c_punctuation">()</span>
109
<td class="function_type">
110
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
112
<td class="function_name">
113
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()">tp_capabilities_supports_file_transfer</a> <span class="c_punctuation">()</span>
117
<td class="function_type">
118
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
120
<td class="function_name">
121
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-description" title="tp_capabilities_supports_file_transfer_description ()">tp_capabilities_supports_file_transfer_description</a> <span class="c_punctuation">()</span>
125
<td class="function_type">
126
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
128
<td class="function_name">
129
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-initial-offset" title="tp_capabilities_supports_file_transfer_initial_offset ()">tp_capabilities_supports_file_transfer_initial_offset</a> <span class="c_punctuation">()</span>
133
<td class="function_type">
134
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
136
<td class="function_name">
137
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-timestamp" title="tp_capabilities_supports_file_transfer_timestamp ()">tp_capabilities_supports_file_transfer_timestamp</a> <span class="c_punctuation">()</span>
141
<td class="function_type">
142
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
144
<td class="function_name">
145
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer-uri" title="tp_capabilities_supports_file_transfer_uri ()">tp_capabilities_supports_file_transfer_uri</a> <span class="c_punctuation">()</span>
149
<td class="function_type">
150
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
152
<td class="function_name">
153
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-stream-tubes" title="tp_capabilities_supports_stream_tubes ()">tp_capabilities_supports_stream_tubes</a> <span class="c_punctuation">()</span>
157
<td class="function_type">
158
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
160
<td class="function_name">
161
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-dbus-tubes" title="tp_capabilities_supports_dbus_tubes ()">tp_capabilities_supports_dbus_tubes</a> <span class="c_punctuation">()</span>
165
<td class="function_type">
166
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
168
<td class="function_name">
169
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-contact-search" title="tp_capabilities_supports_contact_search ()">tp_capabilities_supports_contact_search</a> <span class="c_punctuation">()</span>
173
<td class="function_type">
174
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
176
<td class="function_name">
177
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-room-list" title="tp_capabilities_supports_room_list ()">tp_capabilities_supports_room_list</a> <span class="c_punctuation">()</span>
88
<a name="telepathy-glib-capabilities.object-hierarchy"></a><h2>Object Hierarchy</h2>
89
<pre class="synopsis">
90
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
183
94
<div class="refsect1">
184
95
<a name="telepathy-glib-capabilities.properties"></a><h2>Properties</h2>
185
<div class="informaltable"><table border="0">
187
<col width="150px" class="properties_type">
188
<col width="300px" class="properties_name">
189
<col width="200px" class="properties_flags">
193
<td class="property_type"><span class="type">GPtrArray_GValueArray_GHashTable_gchararray+GValue_+GStrv__*</span></td>
194
<td class="property_name"><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title="The “channel-classes” property">channel-classes</a></td>
195
<td class="property_flags">Read / Write / Construct Only</td>
198
<td class="property_type">
199
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *</td>
200
<td class="property_name"><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title="The “channel-classes-variant” property">channel-classes-variant</a></td>
201
<td class="property_flags">Read</td>
204
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
205
<td class="property_name"><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property">contact-specific</a></td>
206
<td class="property_flags">Read / Write / Construct Only</td>
211
<a name="TpCapabilities"></a><div class="refsect1">
212
<a name="telepathy-glib-capabilities.other"></a><h2>Types and Values</h2>
213
<div class="informaltable"><table width="100%" border="0">
215
<col width="150px" class="name">
216
<col class="description">
219
<td class="datatype_keyword"> </td>
220
<td class="function_name"><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities-struct" title="TpCapabilities">TpCapabilities</a></td>
224
<div class="refsect1">
225
<a name="telepathy-glib-capabilities.object-hierarchy"></a><h2>Object Hierarchy</h2>
226
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
227
<span class="lineart">╰──</span> TpCapabilities
230
<div class="refsect1">
231
<a name="telepathy-glib-capabilities.includes"></a><h2>Includes</h2>
232
<pre class="synopsis">#include <telepathy-glib/telepathy-glib.h>
96
<pre class="synopsis">
97
"<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title='The "channel-classes" property'>channel-classes</a>" <span class="type">GPtrArray_GValueArray_GHashTable_gchararray+GValue_+GStrv__*</span> : Read / Write / Construct Only
98
"<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title='The "channel-classes-variant" property'>channel-classes-variant</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>* : Read
99
"<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'>contact-specific</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
235
102
<div class="refsect1">
236
103
<a name="telepathy-glib-capabilities.description"></a><h2>Description</h2>
237
<p><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> objects represent the capabilities a <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>
238
or a <a class="link" href="telepathy-glib-contact.html#TpContact"><span class="type">TpContact</span></a> supports.</p>
105
<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> objects represent the capabilities a <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>
106
or a <a class="link" href="telepathy-glib-contact.html#TpContact"><span class="type">TpContact</span></a> supports.
240
109
<div class="refsect1">
241
<a name="telepathy-glib-capabilities.functions_details"></a><h2>Functions</h2>
242
<div class="refsect2">
243
<a name="tp-capabilities-get-channel-classes"></a><h3>tp_capabilities_get_channel_classes ()</h3>
244
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
245
tp_capabilities_get_channel_classes (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
247
<div class="refsect3">
248
<a name="id-1.4.6.10.2.5"></a><h4>Parameters</h4>
249
<div class="informaltable"><table width="100%" border="0">
251
<col width="150px" class="parameters_name">
252
<col class="parameters_description">
253
<col width="200px" class="parameters_annotations">
256
<td class="parameter_name"><p>self</p></td>
257
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
258
<td class="parameter_annotations"> </td>
262
<div class="refsect3">
263
<a name="id-1.4.6.10.2.6"></a><h4>Returns</h4>
264
<p> the same <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> as
265
the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title="The “channel-classes” property"><span class="type">“channel-classes”</span></a> property. </p>
266
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GHashTable]</span></p>
268
<p class="since">Since 0.11.3</p>
271
<div class="refsect2">
272
<a name="tp-capabilities-dup-channel-classes-variant"></a><h3>tp_capabilities_dup_channel_classes_variant ()</h3>
273
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
274
tp_capabilities_dup_channel_classes_variant
275
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
276
<p>Return the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title="The “channel-classes-variant” property"><span class="type">“channel-classes-variant”</span></a> property</p>
277
<div class="refsect3">
278
<a name="id-1.4.6.10.3.5"></a><h4>Parameters</h4>
279
<div class="informaltable"><table width="100%" border="0">
281
<col width="150px" class="parameters_name">
282
<col class="parameters_description">
283
<col width="200px" class="parameters_annotations">
286
<td class="parameter_name"><p>self</p></td>
287
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a></p></td>
288
<td class="parameter_annotations"> </td>
292
<div class="refsect3">
293
<a name="id-1.4.6.10.3.6"></a><h4>Returns</h4>
295
<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title="The “channel-classes-variant” property"><span class="type">“channel-classes-variant”</span></a> property. </p>
296
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
110
<a name="telepathy-glib-capabilities.details"></a><h2>Details</h2>
111
<div class="refsect2">
112
<a name="TpCapabilities-struct"></a><h3>TpCapabilities</h3>
113
<pre class="programlisting">typedef struct _TpCapabilities TpCapabilities;</pre>
115
An object representing capabilities a <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or <a class="link" href="telepathy-glib-contact.html#TpContact"><span class="type">TpContact</span></a> supports.
117
<p class="since">Since 0.11.3</p>
120
<div class="refsect2">
121
<a name="tp-capabilities-get-channel-classes"></a><h3>tp_capabilities_get_channel_classes ()</h3>
122
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * tp_capabilities_get_channel_classes (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
126
<div class="variablelist"><table border="0" class="variablelist">
128
<col align="left" valign="top">
133
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
134
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
137
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
138
<td>the same <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> as
139
the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title='The "channel-classes" property'><span class="type">"channel-classes"</span></a> property. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GHashTable]</span>
144
<p class="since">Since 0.11.3</p>
147
<div class="refsect2">
148
<a name="tp-capabilities-dup-channel-classes-variant"></a><h3>tp_capabilities_dup_channel_classes_variant ()</h3>
149
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * tp_capabilities_dup_channel_classes_variant
150
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
152
Return the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title='The "channel-classes-variant" property'><span class="type">"channel-classes-variant"</span></a> property
154
<div class="variablelist"><table border="0" class="variablelist">
156
<col align="left" valign="top">
161
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
162
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a>
166
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
168
<a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes-variant" title='The "channel-classes-variant" property'><span class="type">"channel-classes-variant"</span></a> property. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
298
173
<p class="since">Since 0.19.0</p>
301
176
<div class="refsect2">
302
<a name="tp-capabilities-is-specific-to-contact"></a><h3>tp_capabilities_is_specific_to_contact ()</h3>
303
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
304
tp_capabilities_is_specific_to_contact
305
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
307
<div class="refsect3">
308
<a name="id-1.4.6.10.4.5"></a><h4>Parameters</h4>
309
<div class="informaltable"><table width="100%" border="0">
177
<a name="tp-capabilities-is-specific-to-contact"></a><h3>tp_capabilities_is_specific_to_contact ()</h3>
178
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_is_specific_to_contact
179
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
183
<div class="variablelist"><table border="0" class="variablelist">
311
<col width="150px" class="parameters_name">
312
<col class="parameters_description">
313
<col width="200px" class="parameters_annotations">
185
<col align="left" valign="top">
316
<td class="parameter_name"><p>self</p></td>
317
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
318
<td class="parameter_annotations"> </td>
190
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
191
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
194
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
195
<td>the same <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> as the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property</td>
322
<div class="refsect3">
323
<a name="id-1.4.6.10.4.6"></a><h4>Returns</h4>
324
<p> the same <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> as the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property</p>
327
199
<p class="since">Since 0.11.3</p>
330
202
<div class="refsect2">
331
<a name="tp-capabilities-supports-text-chatrooms"></a><h3>tp_capabilities_supports_text_chatrooms ()</h3>
332
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
333
tp_capabilities_supports_text_chatrooms
334
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
335
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
203
<a name="tp-capabilities-supports-text-chatrooms"></a><h3>tp_capabilities_supports_text_chatrooms ()</h3>
204
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_text_chatrooms
205
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
207
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
336
208
checks if named text chatrooms can be joined by providing a chatroom
337
209
identifier, for instance by calling
338
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-text" title="tp_account_channel_request_new_text ()"><code class="function">tp_account_channel_request_new_text()</code></a> followed by
339
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><code class="literal">TP_HANDLE_TYPE_ROOM</code></a>.</p>
340
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
210
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-text" title="tp_account_channel_request_new_text ()"><code class="function">tp_account_channel_request_new_text()</code></a> followed by
211
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><code class="literal">TP_HANDLE_TYPE_ROOM</code></a>.
214
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
341
215
checks if the contact associated with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> can be invited
342
to named text chatrooms.</p>
343
<p>If the protocol is such that chatrooms can be joined or contacts can be
216
to named text chatrooms.
219
If the protocol is such that chatrooms can be joined or contacts can be
344
220
invited, but only via a more elaborate D-Bus API than normal
345
(because more information is needed), then this method will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
346
<div class="refsect3">
347
<a name="id-1.4.6.10.5.7"></a><h4>Parameters</h4>
348
<div class="informaltable"><table width="100%" border="0">
221
(because more information is needed), then this method will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
223
<div class="variablelist"><table border="0" class="variablelist">
350
<col width="150px" class="parameters_name">
351
<col class="parameters_description">
352
<col width="200px" class="parameters_annotations">
225
<col align="left" valign="top">
355
<td class="parameter_name"><p>self</p></td>
356
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
357
<td class="parameter_annotations"> </td>
361
<div class="refsect3">
362
<a name="id-1.4.6.10.5.8"></a><h4>Returns</h4>
363
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
230
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
231
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
234
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
236
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
364
237
HandleTypeRoom as TargetHandleType and a channel identifier can be
365
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
238
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
368
242
<p class="since">Since 0.11.3</p>
371
245
<div class="refsect2">
372
<a name="tp-capabilities-supports-text-chats"></a><h3>tp_capabilities_supports_text_chats ()</h3>
373
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
374
tp_capabilities_supports_text_chats (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
375
<p>Return whether private text channels can be established by providing
246
<a name="tp-capabilities-supports-text-chats"></a><h3>tp_capabilities_supports_text_chats ()</h3>
247
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_text_chats (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
249
Return whether private text channels can be established by providing
376
250
a contact identifier, for instance by calling
377
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-text" title="tp_account_channel_request_new_text ()"><code class="function">tp_account_channel_request_new_text()</code></a> followed by
378
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a>.</p>
379
<p>If the protocol is such that text chats can be established, but only via a
251
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-text" title="tp_account_channel_request_new_text ()"><code class="function">tp_account_channel_request_new_text()</code></a> followed by
252
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a>.
255
If the protocol is such that text chats can be established, but only via a
380
256
more elaborate D-Bus API than normal (because more information is needed),
381
then this method will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
382
<div class="refsect3">
383
<a name="id-1.4.6.10.6.6"></a><h4>Parameters</h4>
384
<div class="informaltable"><table width="100%" border="0">
257
then this method will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
259
<div class="variablelist"><table border="0" class="variablelist">
386
<col width="150px" class="parameters_name">
387
<col class="parameters_description">
388
<col width="200px" class="parameters_annotations">
261
<col align="left" valign="top">
391
<td class="parameter_name"><p>self</p></td>
392
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
393
<td class="parameter_annotations"> </td>
266
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
267
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
270
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
272
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
273
HandleTypeContact as TargetHandleType and a contact identifier can be
274
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
397
<div class="refsect3">
398
<a name="id-1.4.6.10.6.7"></a><h4>Returns</h4>
399
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
400
HandleTypeContact as TargetHandleType and a contact identifier can be
401
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
404
278
<p class="since">Since 0.11.3</p>
407
281
<div class="refsect2">
408
<a name="tp-capabilities-supports-sms"></a><h3>tp_capabilities_supports_sms ()</h3>
409
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
410
tp_capabilities_supports_sms (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
411
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
282
<a name="tp-capabilities-supports-sms"></a><h3>tp_capabilities_supports_sms ()</h3>
283
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_sms (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
285
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
412
286
checks if SMS text channels can be requested with the connection associated
413
with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a>.</p>
414
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
287
with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a>.
290
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
415
291
checks if the contact associated with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> supports
416
SMS text channels.</p>
417
<div class="refsect3">
418
<a name="id-1.4.6.10.7.6"></a><h4>Parameters</h4>
419
<div class="informaltable"><table width="100%" border="0">
294
<div class="variablelist"><table border="0" class="variablelist">
421
<col width="150px" class="parameters_name">
422
<col class="parameters_description">
423
<col width="200px" class="parameters_annotations">
296
<col align="left" valign="top">
426
<td class="parameter_name"><p>self</p></td>
427
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
428
<td class="parameter_annotations"> </td>
432
<div class="refsect3">
433
<a name="id-1.4.6.10.7.7"></a><h4>Returns</h4>
434
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
301
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
302
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
305
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
307
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Text as ChannelType,
435
308
HandleTypeContact as TargetHandleType, a channel identifier and
436
309
<a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-INTERFACE-SMS-SMS-CHANNEL:CAPS" title="TP_PROP_CHANNEL_INTERFACE_SMS_SMS_CHANNEL"><span class="type">TP_PROP_CHANNEL_INTERFACE_SMS_SMS_CHANNEL</span></a> set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> can be
437
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
310
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
440
314
<p class="since">Since 0.19.0</p>
443
317
<div class="refsect2">
444
<a name="tp-capabilities-supports-audio-call"></a><h3>tp_capabilities_supports_audio_call ()</h3>
445
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
446
tp_capabilities_supports_audio_call (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
447
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);</pre>
448
<p>Return whether audio calls can be established, for instance by calling
449
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-audio-call" title="tp_account_channel_request_new_audio_call ()"><code class="function">tp_account_channel_request_new_audio_call()</code></a>, followed by
450
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <em class="parameter"><code>handle_type</code></em>
452
<p>To check whether requests using
453
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a> would work, set
454
<em class="parameter"><code>handle_type</code></em>
455
to <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><code class="literal">TP_HANDLE_TYPE_CONTACT</code></a>.</p>
456
<div class="refsect3">
457
<a name="id-1.4.6.10.8.6"></a><h4>Parameters</h4>
458
<div class="informaltable"><table width="100%" border="0">
318
<a name="tp-capabilities-supports-audio-call"></a><h3>tp_capabilities_supports_audio_call ()</h3>
319
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_audio_call (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
320
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);</pre>
322
Return whether audio calls can be established, for instance by calling
323
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-audio-call" title="tp_account_channel_request_new_audio_call ()"><code class="function">tp_account_channel_request_new_audio_call()</code></a>, followed by
324
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <em class="parameter"><code>handle_type</code></em>.
327
To check whether requests using
328
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a> would work, set
329
<em class="parameter"><code>handle_type</code></em> to <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><code class="literal">TP_HANDLE_TYPE_CONTACT</code></a>.
331
<div class="variablelist"><table border="0" class="variablelist">
460
<col width="150px" class="parameters_name">
461
<col class="parameters_description">
462
<col width="200px" class="parameters_annotations">
333
<col align="left" valign="top">
466
<td class="parameter_name"><p>self</p></td>
467
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
468
<td class="parameter_annotations"> </td>
338
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
339
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
471
<td class="parameter_name"><p>handle_type</p></td>
472
<td class="parameter_description"><p>the handle type of the call; <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a> for
342
<td><p><span class="term"><em class="parameter"><code>handle_type</code></em> :</span></p></td>
343
<td>the handle type of the call; <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a> for
473
344
private, <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a> or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-NONE:CAPS"><span class="type">TP_HANDLE_TYPE_NONE</span></a> for conference
474
(depending on the protocol)</p></td>
475
<td class="parameter_annotations"> </td>
345
(depending on the protocol)</td>
348
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
350
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Call as ChannelType,
351
<em class="parameter"><code>handle_type</code></em> as TargetHandleType, a True value for InitialAudio and an
352
identifier of the appropriate type can be expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
480
<div class="refsect3">
481
<a name="id-1.4.6.10.8.7"></a><h4>Returns</h4>
482
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Call as ChannelType,
483
<em class="parameter"><code>handle_type</code></em>
484
as TargetHandleType, a True value for InitialAudio and an
485
identifier of the appropriate type can be expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
488
356
<p class="since">Since 0.17.6</p>
491
359
<div class="refsect2">
492
<a name="tp-capabilities-supports-audio-video-call"></a><h3>tp_capabilities_supports_audio_video_call ()</h3>
493
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
494
tp_capabilities_supports_audio_video_call
495
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
496
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);</pre>
497
<p>Return whether audio/video calls can be established, for instance by calling
498
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-audio-video-call" title="tp_account_channel_request_new_audio_video_call ()"><code class="function">tp_account_channel_request_new_audio_video_call()</code></a>, followed by
499
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <em class="parameter"><code>handle_type</code></em>
501
<p>To check whether requests using
502
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a> would work, set
503
<em class="parameter"><code>handle_type</code></em>
504
to <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><code class="literal">TP_HANDLE_TYPE_CONTACT</code></a>.</p>
505
<div class="refsect3">
506
<a name="id-1.4.6.10.9.6"></a><h4>Parameters</h4>
507
<div class="informaltable"><table width="100%" border="0">
360
<a name="tp-capabilities-supports-audio-video-call"></a><h3>tp_capabilities_supports_audio_video_call ()</h3>
361
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_audio_video_call
362
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
363
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>);</pre>
365
Return whether audio/video calls can be established, for instance by calling
366
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new-audio-video-call" title="tp_account_channel_request_new_audio_video_call ()"><code class="function">tp_account_channel_request_new_audio_video_call()</code></a>, followed by
367
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-id" title="tp_account_channel_request_set_target_id ()"><code class="function">tp_account_channel_request_set_target_id()</code></a> with <em class="parameter"><code>handle_type</code></em>.
370
To check whether requests using
371
<a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-set-target-contact" title="tp_account_channel_request_set_target_contact ()"><code class="function">tp_account_channel_request_set_target_contact()</code></a> would work, set
372
<em class="parameter"><code>handle_type</code></em> to <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><code class="literal">TP_HANDLE_TYPE_CONTACT</code></a>.
374
<div class="variablelist"><table border="0" class="variablelist">
509
<col width="150px" class="parameters_name">
510
<col class="parameters_description">
511
<col width="200px" class="parameters_annotations">
376
<col align="left" valign="top">
515
<td class="parameter_name"><p>self</p></td>
516
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
517
<td class="parameter_annotations"> </td>
381
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
382
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
520
<td class="parameter_name"><p>handle_type</p></td>
521
<td class="parameter_description"><p>the handle type of the call; <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a> for
385
<td><p><span class="term"><em class="parameter"><code>handle_type</code></em> :</span></p></td>
386
<td>the handle type of the call; <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a> for
522
387
private, <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a> or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-NONE:CAPS"><span class="type">TP_HANDLE_TYPE_NONE</span></a> for conference
523
(depending on the protocol)</p></td>
524
<td class="parameter_annotations"> </td>
388
(depending on the protocol)</td>
529
<div class="refsect3">
530
<a name="id-1.4.6.10.9.7"></a><h4>Returns</h4>
531
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Call as ChannelType,
532
<em class="parameter"><code>handle_type</code></em>
533
as TargetHandleType, a True value for
391
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
393
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing Call as ChannelType,
394
<em class="parameter"><code>handle_type</code></em> as TargetHandleType, a True value for
534
395
InitialAudio/InitialVideo and an identifier of the appropriate type can be
535
396
expected to work,
536
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
397
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
539
401
<p class="since">Since 0.17.6</p>
542
404
<div class="refsect2">
543
<a name="tp-capabilities-supports-file-transfer"></a><h3>tp_capabilities_supports_file_transfer ()</h3>
544
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
545
tp_capabilities_supports_file_transfer
546
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
547
<p>Return whether private file transfer can be established by providing
548
a contact identifier.</p>
549
<div class="refsect3">
550
<a name="id-1.4.6.10.10.5"></a><h4>Parameters</h4>
551
<div class="informaltable"><table width="100%" border="0">
405
<a name="tp-capabilities-supports-file-transfer"></a><h3>tp_capabilities_supports_file_transfer ()</h3>
406
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_file_transfer
407
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
409
Return whether private file transfer can be established by providing
410
a contact identifier.
412
<div class="variablelist"><table border="0" class="variablelist">
553
<col width="150px" class="parameters_name">
554
<col class="parameters_description">
555
<col width="200px" class="parameters_annotations">
414
<col align="left" valign="top">
558
<td class="parameter_name"><p>self</p></td>
559
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
560
<td class="parameter_annotations"> </td>
564
<div class="refsect3">
565
<a name="id-1.4.6.10.10.6"></a><h4>Returns</h4>
566
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing FileTransfer as ChannelType,
419
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
420
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
423
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
425
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a channel request containing FileTransfer as ChannelType,
567
426
HandleTypeContact as TargetHandleType and a contact identifier can be
568
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
427
expected to work, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
571
431
<p class="since">Since 0.17.6</p>
574
434
<div class="refsect2">
575
<a name="tp-capabilities-supports-file-transfer-description"></a><h3>tp_capabilities_supports_file_transfer_description ()</h3>
576
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
577
tp_capabilities_supports_file_transfer_description
578
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
580
<div class="refsect3">
581
<a name="id-1.4.6.10.11.5"></a><h4>Parameters</h4>
582
<div class="informaltable"><table width="100%" border="0">
435
<a name="tp-capabilities-supports-file-transfer-description"></a><h3>tp_capabilities_supports_file_transfer_description ()</h3>
436
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_file_transfer_description
437
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
441
<div class="variablelist"><table border="0" class="variablelist">
584
<col width="150px" class="parameters_name">
585
<col class="parameters_description">
586
<col width="200px" class="parameters_annotations">
443
<col align="left" valign="top">
589
<td class="parameter_name"><p>self</p></td>
590
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
591
<td class="parameter_annotations"> </td>
448
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
449
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
452
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
454
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
455
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
456
file's description</td>
595
<div class="refsect3">
596
<a name="id-1.4.6.10.11.6"></a><h4>Returns</h4>
597
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
598
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
599
file's description</p>
602
460
<p class="since">Since 0.19.0</p>
605
463
<div class="refsect2">
606
<a name="tp-capabilities-supports-file-transfer-initial-offset"></a><h3>tp_capabilities_supports_file_transfer_initial_offset ()</h3>
607
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
608
tp_capabilities_supports_file_transfer_initial_offset
609
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
610
<p>Return whether an initial offset other than 0 can be specified on
464
<a name="tp-capabilities-supports-file-transfer-initial-offset"></a><h3>tp_capabilities_supports_file_transfer_initial_offset ()</h3>
465
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_file_transfer_initial_offset
466
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
468
Return whether an initial offset other than 0 can be specified on
611
469
outgoing file transfers. This can be used to resume partial transfers,
612
by omitting the part that has already been sent.</p>
613
<div class="refsect3">
614
<a name="id-1.4.6.10.12.5"></a><h4>Parameters</h4>
615
<div class="informaltable"><table width="100%" border="0">
617
<col width="150px" class="parameters_name">
618
<col class="parameters_description">
619
<col width="200px" class="parameters_annotations">
622
<td class="parameter_name"><p>self</p></td>
623
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
624
<td class="parameter_annotations"> </td>
628
<div class="refsect3">
629
<a name="id-1.4.6.10.12.6"></a><h4>Returns</h4>
630
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
631
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify an
632
initial offset greater than 0</p>
635
<p class="since">Since 0.19.0</p>
638
<div class="refsect2">
639
<a name="tp-capabilities-supports-file-transfer-timestamp"></a><h3>tp_capabilities_supports_file_transfer_timestamp ()</h3>
640
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
641
tp_capabilities_supports_file_transfer_timestamp
642
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
644
<div class="refsect3">
645
<a name="id-1.4.6.10.13.5"></a><h4>Parameters</h4>
646
<div class="informaltable"><table width="100%" border="0">
648
<col width="150px" class="parameters_name">
649
<col class="parameters_description">
650
<col width="200px" class="parameters_annotations">
653
<td class="parameter_name"><p>self</p></td>
654
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
655
<td class="parameter_annotations"> </td>
659
<div class="refsect3">
660
<a name="id-1.4.6.10.13.6"></a><h4>Returns</h4>
661
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
662
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
666
<p class="since">Since 0.19.0</p>
669
<div class="refsect2">
670
<a name="tp-capabilities-supports-file-transfer-uri"></a><h3>tp_capabilities_supports_file_transfer_uri ()</h3>
671
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
672
tp_capabilities_supports_file_transfer_uri
673
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
675
<div class="refsect3">
676
<a name="id-1.4.6.10.14.5"></a><h4>Parameters</h4>
677
<div class="informaltable"><table width="100%" border="0">
679
<col width="150px" class="parameters_name">
680
<col class="parameters_description">
681
<col width="200px" class="parameters_annotations">
684
<td class="parameter_name"><p>self</p></td>
685
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
686
<td class="parameter_annotations"> </td>
690
<div class="refsect3">
691
<a name="id-1.4.6.10.14.6"></a><h4>Returns</h4>
692
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
693
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
697
<p class="since">Since 0.19.0</p>
700
<div class="refsect2">
701
<a name="tp-capabilities-supports-stream-tubes"></a><h3>tp_capabilities_supports_stream_tubes ()</h3>
702
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
703
tp_capabilities_supports_stream_tubes (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
704
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
705
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>);</pre>
706
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
470
by omitting the part that has already been sent.
472
<div class="variablelist"><table border="0" class="variablelist">
474
<col align="left" valign="top">
479
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
480
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
483
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
485
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
486
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify an
487
initial offset greater than 0</td>
491
<p class="since">Since 0.19.0</p>
494
<div class="refsect2">
495
<a name="tp-capabilities-supports-file-transfer-timestamp"></a><h3>tp_capabilities_supports_file_transfer_timestamp ()</h3>
496
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_file_transfer_timestamp
497
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
501
<div class="variablelist"><table border="0" class="variablelist">
503
<col align="left" valign="top">
508
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
509
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
512
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
514
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
515
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
516
file's timestamp</td>
520
<p class="since">Since 0.19.0</p>
523
<div class="refsect2">
524
<a name="tp-capabilities-supports-file-transfer-uri"></a><h3>tp_capabilities_supports_file_transfer_uri ()</h3>
525
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_file_transfer_uri
526
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>);</pre>
530
<div class="variablelist"><table border="0" class="variablelist">
532
<col align="left" valign="top">
537
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
538
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
541
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
543
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if requests as described for
544
<a class="link" href="telepathy-glib-capabilities.html#tp-capabilities-supports-file-transfer" title="tp_capabilities_supports_file_transfer ()"><code class="function">tp_capabilities_supports_file_transfer()</code></a> can also specify the outgoing
549
<p class="since">Since 0.19.0</p>
552
<div class="refsect2">
553
<a name="tp-capabilities-supports-stream-tubes"></a><h3>tp_capabilities_supports_stream_tubes ()</h3>
554
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_stream_tubes
555
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
556
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
557
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>);</pre>
559
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
707
560
checks if the contact associated with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> supports
708
stream tubes with <em class="parameter"><code>handle_type</code></em>
710
If <em class="parameter"><code>service</code></em>
711
is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it also checks if it supports stream tubes
712
with <em class="parameter"><code>service</code></em>
713
as <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAM-TUBE-SERVICE:CAPS" title="TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE"><span class="type">TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE</span></a>.</p>
714
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
561
stream tubes with <em class="parameter"><code>handle_type</code></em> as TargetHandleType.
562
If <em class="parameter"><code>service</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it also checks if it supports stream tubes
563
with <em class="parameter"><code>service</code></em> as <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAM-TUBE-SERVICE:CAPS" title="TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE"><span class="type">TP_PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE</span></a>.
566
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
715
567
checks if the connection supports requesting stream tube channels with
716
<em class="parameter"><code>handle_type</code></em>
717
as ChannelType. The <em class="parameter"><code>service</code></em>
718
argument is unused in this case.</p>
719
<div class="refsect3">
720
<a name="id-1.4.6.10.15.6"></a><h4>Parameters</h4>
721
<div class="informaltable"><table width="100%" border="0">
568
<em class="parameter"><code>handle_type</code></em> as ChannelType. The <em class="parameter"><code>service</code></em> argument is unused in this case.
570
<div class="variablelist"><table border="0" class="variablelist">
723
<col width="150px" class="parameters_name">
724
<col class="parameters_description">
725
<col width="200px" class="parameters_annotations">
572
<col align="left" valign="top">
729
<td class="parameter_name"><p>self</p></td>
730
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
731
<td class="parameter_annotations"> </td>
734
<td class="parameter_name"><p>handle_type</p></td>
735
<td class="parameter_description"><p>the handle type of the tube (either <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a>
736
or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a>)</p></td>
737
<td class="parameter_annotations"> </td>
740
<td class="parameter_name"><p>service</p></td>
741
<td class="parameter_description"><p>the service of the tube, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
742
<td class="parameter_annotations"> </td>
577
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
578
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
581
<td><p><span class="term"><em class="parameter"><code>handle_type</code></em> :</span></p></td>
582
<td>the handle type of the tube (either <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a>
583
or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a>)</td>
586
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
587
<td>the service of the tube, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
591
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
593
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the contact or connection supports this type of stream
747
<div class="refsect3">
748
<a name="id-1.4.6.10.15.7"></a><h4>Returns</h4>
749
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the contact or connection supports this type of stream
753
598
<p class="since">Since 0.13.0</p>
756
601
<div class="refsect2">
757
<a name="tp-capabilities-supports-dbus-tubes"></a><h3>tp_capabilities_supports_dbus_tubes ()</h3>
758
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
759
tp_capabilities_supports_dbus_tubes (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
760
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
761
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service_name</code></em>);</pre>
762
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
602
<a name="tp-capabilities-supports-dbus-tubes"></a><h3>tp_capabilities_supports_dbus_tubes ()</h3>
603
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_dbus_tubes (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
604
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a> handle_type</code></em>,
605
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service_name</code></em>);</pre>
607
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, this function
763
608
checks if the contact associated with this <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> supports
764
D-Bus tubes with <em class="parameter"><code>handle_type</code></em>
766
If <em class="parameter"><code>service_name</code></em>
767
is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it also checks if it supports stream tubes
768
with <em class="parameter"><code>service</code></em>
769
as <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-DBUS-TUBE-SERVICE-NAME:CAPS" title="TP_PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME"><span class="type">TP_PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME</span></a>.</p>
770
<p>If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title="The “contact-specific” property"><span class="type">“contact-specific”</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
609
D-Bus tubes with <em class="parameter"><code>handle_type</code></em> as TargetHandleType.
610
If <em class="parameter"><code>service_name</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it also checks if it supports stream tubes
611
with <em class="parameter"><code>service</code></em> as <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-DBUS-TUBE-SERVICE-NAME:CAPS" title="TP_PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME"><span class="type">TP_PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME</span></a>.
614
If the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--contact-specific" title='The "contact-specific" property'><span class="type">"contact-specific"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
771
615
checks if the connection supports requesting D-Bus tube channels with
772
<em class="parameter"><code>handle_type</code></em>
773
as ChannelType. The <em class="parameter"><code>service_name</code></em>
774
argument is unused in
776
<div class="refsect3">
777
<a name="id-1.4.6.10.16.6"></a><h4>Parameters</h4>
778
<div class="informaltable"><table width="100%" border="0">
616
<em class="parameter"><code>handle_type</code></em> as ChannelType. The <em class="parameter"><code>service_name</code></em> argument is unused in
619
<div class="variablelist"><table border="0" class="variablelist">
780
<col width="150px" class="parameters_name">
781
<col class="parameters_description">
782
<col width="200px" class="parameters_annotations">
621
<col align="left" valign="top">
786
<td class="parameter_name"><p>self</p></td>
787
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
788
<td class="parameter_annotations"> </td>
791
<td class="parameter_name"><p>handle_type</p></td>
792
<td class="parameter_description"><p>the handle type of the tube (either <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a>
793
or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a>)</p></td>
794
<td class="parameter_annotations"> </td>
797
<td class="parameter_name"><p>service_name</p></td>
798
<td class="parameter_description"><p>the service name of the tube, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
799
<td class="parameter_annotations"> </td>
626
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
627
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
630
<td><p><span class="term"><em class="parameter"><code>handle_type</code></em> :</span></p></td>
631
<td>the handle type of the tube (either <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-CONTACT:CAPS"><span class="type">TP_HANDLE_TYPE_CONTACT</span></a>
632
or <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-ROOM:CAPS"><span class="type">TP_HANDLE_TYPE_ROOM</span></a>)</td>
635
<td><p><span class="term"><em class="parameter"><code>service_name</code></em> :</span></p></td>
636
<td>the service name of the tube, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
640
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
642
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the contact or connection supports this type of D-Bus
804
<div class="refsect3">
805
<a name="id-1.4.6.10.16.7"></a><h4>Returns</h4>
806
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the contact or connection supports this type of D-Bus
810
647
<p class="since">Since 0.13.0</p>
813
650
<div class="refsect2">
814
<a name="tp-capabilities-supports-contact-search"></a><h3>tp_capabilities_supports_contact_search ()</h3>
815
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
816
tp_capabilities_supports_contact_search
817
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
818
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_limit</code></em>,
819
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);</pre>
820
<p>Return whether this protocol or connection can perform contact
651
<a name="tp-capabilities-supports-contact-search"></a><h3>tp_capabilities_supports_contact_search ()</h3>
652
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_contact_search
653
(<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
654
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_limit</code></em>,
655
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);</pre>
657
Return whether this protocol or connection can perform contact
821
658
searches. Optionally, also return whether a limited number of
822
659
results can be specified, and whether alternative servers can be
824
<div class="refsect3">
825
<a name="id-1.4.6.10.17.5"></a><h4>Parameters</h4>
826
<div class="informaltable"><table width="100%" border="0">
662
<div class="variablelist"><table border="0" class="variablelist">
828
<col width="150px" class="parameters_name">
829
<col class="parameters_description">
830
<col width="200px" class="parameters_annotations">
664
<col align="left" valign="top">
834
<td class="parameter_name"><p>self</p></td>
835
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</p></td>
836
<td class="parameter_annotations"> </td>
839
<td class="parameter_name"><p>with_limit</p></td>
840
<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 return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the limit
841
parameter to <a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-new-async" title="tp_contact_search_new_async ()"><code class="function">tp_contact_search_new_async()</code></a> and
842
<a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-reset-async" title="tp_contact_search_reset_async ()"><code class="function">tp_contact_search_reset_async()</code></a> can be nonzero. </p></td>
843
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
846
<td class="parameter_name"><p>with_server</p></td>
847
<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 return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the server
848
parameter to <a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-new-async" title="tp_contact_search_new_async ()"><code class="function">tp_contact_search_new_async()</code></a> and
849
<a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-reset-async" title="tp_contact_search_reset_async ()"><code class="function">tp_contact_search_reset_async()</code></a> can be non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
850
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
669
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
670
<td>a <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> object</td>
673
<td><p><span class="term"><em class="parameter"><code>with_limit</code></em> :</span></p></td>
674
<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 return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the limit
675
parameter to <a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-new-async" title="tp_contact_search_new_async ()"><code class="function">tp_contact_search_new_async()</code></a> and
676
<a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-reset-async" title="tp_contact_search_reset_async ()"><code class="function">tp_contact_search_reset_async()</code></a> can be nonzero. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
680
<td><p><span class="term"><em class="parameter"><code>with_server</code></em> :</span></p></td>
681
<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 return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the server
682
parameter to <a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-new-async" title="tp_contact_search_new_async ()"><code class="function">tp_contact_search_new_async()</code></a> and
683
<a class="link" href="telepathy-glib-contact-search.html#tp-contact-search-reset-async" title="tp_contact_search_reset_async ()"><code class="function">tp_contact_search_reset_async()</code></a> can be non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
687
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
689
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="telepathy-glib-contact-search.html#TpContactSearch"><span class="type">TpContactSearch</span></a> can be used.</td>
855
<div class="refsect3">
856
<a name="id-1.4.6.10.17.6"></a><h4>Returns</h4>
857
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="telepathy-glib-contact-search.html#TpContactSearch"><span class="type">TpContactSearch</span></a> can be used.</p>
860
693
<p class="since">Since 0.13.11</p>
863
696
<div class="refsect2">
864
<a name="tp-capabilities-supports-room-list"></a><h3>tp_capabilities_supports_room_list ()</h3>
865
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
866
tp_capabilities_supports_room_list (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
867
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);</pre>
868
<p>Discovers whether this protocol or connection supports listing rooms.
697
<a name="tp-capabilities-supports-room-list"></a><h3>tp_capabilities_supports_room_list ()</h3>
698
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_capabilities_supports_room_list (<em class="parameter"><code><a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> *self</code></em>,
699
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *with_server</code></em>);</pre>
701
Discovers whether this protocol or connection supports listing rooms.
869
702
Specifically, if this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a room list channel can be
870
requested as follows:</p>
703
requested as follows:
871
705
<div class="informalexample">
872
706
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">