~timchen119/ubuntu/trusty/gnome-bluetooth/lp1035431

« back to all changes in this revision

Viewing changes to docs/reference/libgnome-bluetooth/html/gnome-bluetooth-bluetooth-client.html

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-02-27 15:45:22 UTC
  • mfrom: (1.3.2 upstream)
  • mto: (2.2.3 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20110227154522-dnnoqasv5v3mv42a
Tags: upstream-2.91.5
Import upstream version 2.91.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>BluetoothClient</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="gnome-bluetooth Reference Manual">
 
8
<link rel="up" href="ch01.html" title="API Reference">
 
9
<link rel="prev" href="gnome-bluetooth-bluetooth-chooser.html" title="BluetoothChooser">
 
10
<link rel="next" href="BluetoothChooserButton.html" title="BluetoothChooserButton">
 
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="gnome-bluetooth-bluetooth-chooser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">gnome-bluetooth Reference Manual</th>
 
21
<td><a accesskey="n" href="BluetoothChooserButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#gnome-bluetooth-bluetooth-client.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#gnome-bluetooth-bluetooth-client.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
 
29
<div class="refentry">
 
30
<a name="gnome-bluetooth-bluetooth-client"></a><div class="titlepage"></div>
 
31
<div class="refnamediv"><table width="100%"><tr>
 
32
<td valign="top">
 
33
<h2><span class="refentrytitle"><a name="gnome-bluetooth-bluetooth-client.top_of_page"></a>BluetoothClient</span></h2>
 
34
<p>BluetoothClient — Bluetooth client object</p>
 
35
</td>
 
36
<td valign="top" align="right"></td>
 
37
</tr></table></div>
 
38
<div class="refsect1">
 
39
<a name="gnome-bluetooth-bluetooth-client.stability-level"></a><h2>Stability Level</h2>
 
40
Stable, unless otherwise indicated
 
41
</div>
 
42
<div class="refsynopsisdiv">
 
43
<a name="gnome-bluetooth-bluetooth-client.synopsis"></a><h2>Synopsis</h2>
 
44
<pre class="synopsis">
 
45
#include &lt;bluetooth-client.h&gt;
 
46
 
 
47
#define             <a class="link" href="gnome-bluetooth-bluetooth-client.html#BLUETOOTH-GET-CLIENT-CLASS:CAPS" title="BLUETOOTH_GET_CLIENT_CLASS()">BLUETOOTH_GET_CLIENT_CLASS</a>          (obj)
 
48
struct              <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient">BluetoothClient</a>;
 
49
<a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="returnvalue">BluetoothClient</span></a> *   <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-new" title="bluetooth_client_new ()">bluetooth_client_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
 
50
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-get-model" title="bluetooth_client_get_model ()">bluetooth_client_get_model</a>          (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);
 
51
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-get-filter-model" title="bluetooth_client_get_filter_model ()">bluetooth_client_get_filter_model</a>   (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
53
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
 
55
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-get-adapter-model" title="bluetooth_client_get_adapter_model ()">bluetooth_client_get_adapter_model</a>  (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);
 
56
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-get-device-model" title="bluetooth_client_get_device_model ()">bluetooth_client_get_device_model</a>   (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
57
                                                         <em class="parameter"><code><span class="type">DBusGProxy</span> *adapter</code></em>);
 
58
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-client-get-device-filter-model" title="bluetooth_client_get_device_filter_model ()">bluetooth_client_get_device_filter_model</a>
 
59
                                                        (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">DBusGProxy</span> *adapter</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
 
64
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-type-to-string" title="bluetooth_type_to_string ()">bluetooth_type_to_string</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> type</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-verify-address" title="bluetooth_verify_address ()">bluetooth_verify_address</a>            (<em class="parameter"><code>const <span class="type">char</span> *bdaddr</code></em>);
 
66
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-bluetooth-bluetooth-client.html#bluetooth-uuid-to-string" title="bluetooth_uuid_to_string ()">bluetooth_uuid_to_string</a>            (<em class="parameter"><code>const <span class="type">char</span> *uuid</code></em>);
 
67
</pre>
 
68
</div>
 
69
<div class="refsect1">
 
70
<a name="gnome-bluetooth-bluetooth-client.description"></a><h2>Description</h2>
 
71
<p>
 
72
The <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object is used to query the state of Bluetooth
 
73
devices and adapters.
 
74
</p>
 
75
</div>
 
76
<div class="refsect1">
 
77
<a name="gnome-bluetooth-bluetooth-client.details"></a><h2>Details</h2>
 
78
<div class="refsect2">
 
79
<a name="BLUETOOTH-GET-CLIENT-CLASS:CAPS"></a><h3>BLUETOOTH_GET_CLIENT_CLASS()</h3>
 
80
<pre class="programlisting">#define             BLUETOOTH_GET_CLIENT_CLASS(obj)</pre>
 
81
<p>
 
82
</p>
 
83
</div>
 
84
<hr>
 
85
<div class="refsect2">
 
86
<a name="BluetoothClient"></a><h3>struct BluetoothClient</h3>
 
87
<pre class="programlisting">struct BluetoothClient {
 
88
        GObject parent;
 
89
};
 
90
</pre>
 
91
<p>
 
92
</p>
 
93
</div>
 
94
<hr>
 
95
<div class="refsect2">
 
96
<a name="bluetooth-client-new"></a><h3>bluetooth_client_new ()</h3>
 
97
<pre class="programlisting"><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="returnvalue">BluetoothClient</span></a> *   bluetooth_client_new                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
98
<p>
 
99
Returns a reference to the <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> singleton. Use #<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> the object when done.
 
100
</p>
 
101
<div class="variablelist"><table border="0">
 
102
<col align="left" valign="top">
 
103
<tbody><tr>
 
104
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
105
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
106
</td>
 
107
</tr></tbody>
 
108
</table></div>
 
109
</div>
 
110
<hr>
 
111
<div class="refsect2">
 
112
<a name="bluetooth-client-get-model"></a><h3>bluetooth_client_get_model ()</h3>
 
113
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_model          (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);</pre>
 
114
<p>
 
115
Returns an unfiltered <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> representing the adapter and devices available on the system.
 
116
</p>
 
117
<div class="variablelist"><table border="0">
 
118
<col align="left" valign="top">
 
119
<tbody>
 
120
<tr>
 
121
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
122
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
123
</tr>
 
124
<tr>
 
125
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
126
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
127
</td>
 
128
</tr>
 
129
</tbody>
 
130
</table></div>
 
131
</div>
 
132
<hr>
 
133
<div class="refsect2">
 
134
<a name="bluetooth-client-get-filter-model"></a><h3>bluetooth_client_get_filter_model ()</h3>
 
135
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_filter_model   (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
136
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
137
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
138
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
 
139
<p>
 
140
Returns a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> of devices filtered using the <em class="parameter"><code>func</code></em>, <em class="parameter"><code>data</code></em> and <em class="parameter"><code>destroy</code></em> arguments to pass to <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>.
 
141
</p>
 
142
<div class="variablelist"><table border="0">
 
143
<col align="left" valign="top">
 
144
<tbody>
 
145
<tr>
 
146
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
147
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
148
</tr>
 
149
<tr>
 
150
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
 
151
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a>
 
152
</td>
 
153
</tr>
 
154
<tr>
 
155
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
156
<td>user data to pass to <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
157
</td>
 
158
</tr>
 
159
<tr>
 
160
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
161
<td>a destroy function for <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
162
</td>
 
163
</tr>
 
164
<tr>
 
165
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
166
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
167
</td>
 
168
</tr>
 
169
</tbody>
 
170
</table></div>
 
171
</div>
 
172
<hr>
 
173
<div class="refsect2">
 
174
<a name="bluetooth-client-get-adapter-model"></a><h3>bluetooth_client_get_adapter_model ()</h3>
 
175
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_adapter_model  (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);</pre>
 
176
<p>
 
177
Returns a filtered <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> with only adapters present.
 
178
</p>
 
179
<div class="variablelist"><table border="0">
 
180
<col align="left" valign="top">
 
181
<tbody>
 
182
<tr>
 
183
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
184
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
185
</tr>
 
186
<tr>
 
187
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
188
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
189
</td>
 
190
</tr>
 
191
</tbody>
 
192
</table></div>
 
193
</div>
 
194
<hr>
 
195
<div class="refsect2">
 
196
<a name="bluetooth-client-get-device-model"></a><h3>bluetooth_client_get_device_model ()</h3>
 
197
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_device_model   (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
198
                                                         <em class="parameter"><code><span class="type">DBusGProxy</span> *adapter</code></em>);</pre>
 
199
<p>
 
200
Returns a filtered <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> with only devices belonging to the selected adapter listed. Note that the model will follow a specific adapter, and will not follow the default-adapter when <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is passed.
 
201
</p>
 
202
<div class="variablelist"><table border="0">
 
203
<col align="left" valign="top">
 
204
<tbody>
 
205
<tr>
 
206
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
207
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
208
</tr>
 
209
<tr>
 
210
<td><p><span class="term"><em class="parameter"><code>adapter</code></em> :</span></p></td>
 
211
<td>a <span class="type">DBusGProxy</span> of the adapter object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to get the default adapter.</td>
 
212
</tr>
 
213
<tr>
 
214
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
215
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
216
</td>
 
217
</tr>
 
218
</tbody>
 
219
</table></div>
 
220
</div>
 
221
<hr>
 
222
<div class="refsect2">
 
223
<a name="bluetooth-client-get-device-filter-model"></a><h3>bluetooth_client_get_device_filter_model ()</h3>
 
224
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_device_filter_model
 
225
                                                        (<em class="parameter"><code><a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
226
                                                         <em class="parameter"><code><span class="type">DBusGProxy</span> *adapter</code></em>,
 
227
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
228
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
229
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
 
230
<p>
 
231
Returns a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> of adapters filtered using the <em class="parameter"><code>func</code></em>, <em class="parameter"><code>data</code></em> and
 
232
<em class="parameter"><code>destroy</code></em> arguments to pass to <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>.
 
233
</p>
 
234
<div class="variablelist"><table border="0">
 
235
<col align="left" valign="top">
 
236
<tbody>
 
237
<tr>
 
238
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
239
<td>a <a class="link" href="gnome-bluetooth-bluetooth-client.html#BluetoothClient" title="struct BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
240
</tr>
 
241
<tr>
 
242
<td><p><span class="term"><em class="parameter"><code>adapter</code></em> :</span></p></td>
 
243
<td>a <span class="type">DBusGProxy</span> representing a particular adapter, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the default adapter.</td>
 
244
</tr>
 
245
<tr>
 
246
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
 
247
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a>
 
248
</td>
 
249
</tr>
 
250
<tr>
 
251
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
252
<td>user data to pass to <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
253
</td>
 
254
</tr>
 
255
<tr>
 
256
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
257
<td>a destroy function for <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
258
</td>
 
259
</tr>
 
260
<tr>
 
261
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
262
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
263
</td>
 
264
</tr>
 
265
</tbody>
 
266
</table></div>
 
267
</div>
 
268
<hr>
 
269
<div class="refsect2">
 
270
<a name="bluetooth-type-to-string"></a><h3>bluetooth_type_to_string ()</h3>
 
271
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       bluetooth_type_to_string            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> type</code></em>);</pre>
 
272
<p>
 
273
Returns the string representation of the <em class="parameter"><code>type</code></em> passed. Do not free the return value.
 
274
</p>
 
275
<div class="variablelist"><table border="0">
 
276
<col align="left" valign="top">
 
277
<tbody>
 
278
<tr>
 
279
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
 
280
<td>a <a class="link" href="gnome-bluetooth-bluetooth-enums.html#BluetoothType" title="enum BluetoothType"><span class="type">BluetoothType</span></a>
 
281
</td>
 
282
</tr>
 
283
<tr>
 
284
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
285
<td>a string.</td>
 
286
</tr>
 
287
</tbody>
 
288
</table></div>
 
289
</div>
 
290
<hr>
 
291
<div class="refsect2">
 
292
<a name="bluetooth-verify-address"></a><h3>bluetooth_verify_address ()</h3>
 
293
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bluetooth_verify_address            (<em class="parameter"><code>const <span class="type">char</span> *bdaddr</code></em>);</pre>
 
294
<p>
 
295
Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.
 
296
</p>
 
297
<div class="variablelist"><table border="0">
 
298
<col align="left" valign="top">
 
299
<tbody>
 
300
<tr>
 
301
<td><p><span class="term"><em class="parameter"><code>bdaddr</code></em> :</span></p></td>
 
302
<td>a string representing a Bluetooth address</td>
 
303
</tr>
 
304
<tr>
 
305
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
306
<td>
 
307
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address is valid, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</td>
 
308
</tr>
 
309
</tbody>
 
310
</table></div>
 
311
</div>
 
312
<hr>
 
313
<div class="refsect2">
 
314
<a name="bluetooth-uuid-to-string"></a><h3>bluetooth_uuid_to_string ()</h3>
 
315
<pre class="programlisting">const <span class="returnvalue">char</span> *        bluetooth_uuid_to_string            (<em class="parameter"><code>const <span class="type">char</span> *uuid</code></em>);</pre>
 
316
<p>
 
317
Returns a string representing a human-readable (but not usable for display to users) version of the <em class="parameter"><code>uuid</code></em>. Do not free the return value.
 
318
</p>
 
319
<div class="variablelist"><table border="0">
 
320
<col align="left" valign="top">
 
321
<tbody>
 
322
<tr>
 
323
<td><p><span class="term"><em class="parameter"><code>uuid</code></em> :</span></p></td>
 
324
<td>a string representing a Bluetooth UUID</td>
 
325
</tr>
 
326
<tr>
 
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
328
<td>a string.</td>
 
329
</tr>
 
330
</tbody>
 
331
</table></div>
 
332
</div>
 
333
</div>
 
334
</div>
 
335
<div class="footer">
 
336
<hr>
 
337
          Generated by GTK-Doc V1.15.1</div>
 
338
</body>
 
339
</html>
 
 
b'\\ No newline at end of file'