/usr/share/qt5/doc/qtbluetooth/qbluetoothdeviceinfo.html is in qtconnectivity5-doc-html 5.5.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qbluetoothdeviceinfo.cpp -->
<title>QBluetoothDeviceInfo Class | Qt Bluetooth 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtbluetooth-index.html">Qt Bluetooth</a></li>
<li><a href="qtbluetooth-module.html">C++ Classes</a></li>
<li>QBluetoothDeviceInfo</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QBluetoothDeviceInfo Class</h1>
<!-- $$$QBluetoothDeviceInfo-brief -->
<p>The <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> class stores information about the Bluetooth device. <a href="#details">More...</a></p>
<!-- @@@QBluetoothDeviceInfo -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QBluetoothDeviceInfo></span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += bluetooth</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.2</td></tr></table></div><ul>
<li><a href="qbluetoothdeviceinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#CoreConfiguration-enum">CoreConfiguration</a></b> { UnknownCoreConfiguration, BaseRateCoreConfiguration, BaseRateAndLowEnergyCoreConfiguration, LowEnergyCoreConfiguration }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#CoreConfiguration-enum">CoreConfigurations</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataCompleteness</a></b> { DataComplete, DataIncomplete, DataUnavailable }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MajorDeviceClass-enum">MajorDeviceClass</a></b> { MiscellaneousDevice, ComputerDevice, PhoneDevice, LANAccessDevice, ..., UncategorizedDevice }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorAudioVideoClass-enum">MinorAudioVideoClass</a></b> { UncategorizedAudioVideoDevice, WearableHeadsetDevice, HandsFreeDevice, Microphone, ..., GamingDevice }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorComputerClass-enum">MinorComputerClass</a></b> { UncategorizedComputer, DesktopComputer, ServerComputer, LaptopComputer, ..., WearableComputer }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorHealthClass-enum">MinorHealthClass</a></b> { UncategorizedHealthDevice, HealthBloodPressureMonitor, HealthThermometer, HealthWeightScale, ..., HealthStepCounter }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorImagingClass-enum">MinorImagingClass</a></b> { UncategorizedImagingDevice, ImageDisplay, ImageCamera, ImageScanner, ImagePrinter }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorMiscellaneousClass-enum">MinorMiscellaneousClass</a></b> { UncategorizedMiscellaneous }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorNetworkClass-enum">MinorNetworkClass</a></b> { NetworkFullService, NetworkLoadFactorOne, NetworkLoadFactorTwo, NetworkLoadFactorThree, ..., NetworkNoService }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorPeripheralClass-enum">MinorPeripheralClass</a></b> { UncategorizedPeripheral, KeyboardPeripheral, PointingDevicePeripheral, KeyboardWithPointingDevicePeripheral, ..., CardReaderPeripheral }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorPhoneClass-enum">MinorPhoneClass</a></b> { UncategorizedPhone, CellularPhone, CordlessPhone, SmartPhone, WiredModemOrVoiceGatewayPhone, CommonIsdnAccessPhone }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorToyClass-enum">MinorToyClass</a></b> { UncategorizedToy, ToyRobot, ToyVehicle, ToyDoll, ToyController, ToyGame }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#MinorWearableClass-enum">MinorWearableClass</a></b> { UncategorizedWearableDevice, WearableWristWatch, WearablePager, WearableJacket, WearableHelmet, WearableGlasses }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#ServiceClass-enum">ServiceClass</a></b> { NoService, PositioningService, NetworkingService, RenderingService, ..., AllServices }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#ServiceClass-enum">ServiceClasses</a></b></td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo-2">QBluetoothDeviceInfo</a></b>(const QBluetoothAddress &<i> address</i>, const QString &<i> name</i>, quint32<i> classOfDevice</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo-3">QBluetoothDeviceInfo</a></b>(const QBluetoothUuid &<i> uuid</i>, const QString &<i> name</i>, quint32<i> classOfDevice</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo-4">QBluetoothDeviceInfo</a></b>(const QBluetoothDeviceInfo &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#dtor.QBluetoothDeviceInfo">~QBluetoothDeviceInfo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothAddress </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#address">address</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothDeviceInfo::CoreConfigurations </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#coreConfigurations">coreConfigurations</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothUuid </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#deviceUuid">deviceUuid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#isCached">isCached</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#isValid">isValid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> MajorDeviceClass </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#majorDeviceClass">majorDeviceClass</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> quint8 </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#minorDeviceClass">minorDeviceClass</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#name">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qint16 </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#rssi">rssi</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ServiceClasses </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#serviceClasses">serviceClasses</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList<QBluetoothUuid> </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#serviceUuids">serviceUuids</a></b>(DataCompleteness *<i> completeness</i> = 0) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> DataCompleteness </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#serviceUuidsCompleteness">serviceUuidsCompleteness</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#setCached">setCached</a></b>(bool<i> cached</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#setCoreConfigurations">setCoreConfigurations</a></b>(QBluetoothDeviceInfo::CoreConfigurations<i> coreConfigs</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#setDeviceUuid">setDeviceUuid</a></b>(const QBluetoothUuid &<i> uuid</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#setRssi">setRssi</a></b>(qint16<i> signal</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#setServiceUuids">setServiceUuids</a></b>(const QList<QBluetoothUuid> &<i> uuids</i>, DataCompleteness<i> completeness</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#operator-not-eq">operator!=</a></b>(const QBluetoothDeviceInfo &<i> other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothDeviceInfo & </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#operator-eq">operator=</a></b>(const QBluetoothDeviceInfo &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qbluetoothdeviceinfo.html#operator-eq-eq">operator==</a></b>(const QBluetoothDeviceInfo &<i> other</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QBluetoothDeviceInfo-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> class stores information about the Bluetooth device.</p>
<p><a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> provides information about a Bluetooth device's name, address and class of device.</p>
</div>
<!-- @@@QBluetoothDeviceInfo -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$CoreConfiguration$$$UnknownCoreConfiguration$$$LowEnergyCoreConfiguration$$$BaseRateCoreConfiguration$$$BaseRateAndLowEnergyCoreConfiguration -->
<h3 class="flags" id="CoreConfiguration-enum"><a name="CoreConfiguration-enum"></a>enum QBluetoothDeviceInfo::<span class="name">CoreConfiguration</span><br/>flags QBluetoothDeviceInfo::<span class="name">CoreConfigurations</span></h3>
<p>This enum describes the configuration of the device.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UnknownCoreConfiguration</code></td><td class="topAlign"><code>0x0</code></td><td class="topAlign">The type of the Bluetooth device cannot be determined.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::BaseRateCoreConfiguration</code></td><td class="topAlign"><code>0x02</code></td><td class="topAlign">The device is a standard Bluetooth device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::BaseRateAndLowEnergyCoreConfiguration</code></td><td class="topAlign"><code>0x03</code></td><td class="topAlign">The device is a Bluetooth Smart device with support for standard and Low Energy device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::LowEnergyCoreConfiguration</code></td><td class="topAlign"><code>0x01</code></td><td class="topAlign">The device is a Bluetooth Low Energy device.</td></tr>
</table></div>
<p>This enum was introduced or modified in Qt 5.4.</p>
<p>The CoreConfigurations type is a typedef for <a href="../qtcore/qflags.html">QFlags</a><CoreConfiguration>. It stores an OR combination of CoreConfiguration values.</p>
<!-- @@@CoreConfiguration -->
<!-- $$$DataCompleteness$$$DataComplete$$$DataIncomplete$$$DataUnavailable -->
<h3 class="fn" id="DataCompleteness-enum"><a name="DataCompleteness-enum"></a>enum QBluetoothDeviceInfo::<span class="name">DataCompleteness</span></h3>
<p>This enum describes the completeness of the received data.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::DataComplete</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">The data is complete.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::DataIncomplete</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">The data is incomplete. Addition datum is available via other interfaces.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::DataUnavailable</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">No data is available.</td></tr>
</table></div>
<!-- @@@DataCompleteness -->
<!-- $$$MajorDeviceClass$$$MiscellaneousDevice$$$ComputerDevice$$$PhoneDevice$$$LANAccessDevice$$$AudioVideoDevice$$$PeripheralDevice$$$ImagingDevice$$$WearableDevice$$$ToyDevice$$$HealthDevice$$$UncategorizedDevice -->
<h3 class="fn" id="MajorDeviceClass-enum"><a name="MajorDeviceClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MajorDeviceClass</span></h3>
<p>This enum describes a Bluetooth device's major device class.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::MiscellaneousDevice</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">A miscellaneous device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ComputerDevice</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A computer device or PDA.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::PhoneDevice</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A telephone device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::LANAccessDevice</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">A device that provides access to a local area network.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::AudioVideoDevice</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A device capable of playback or capture of audio and/or video.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::PeripheralDevice</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A peripheral device such as a keyboard, mouse, and so on.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ImagingDevice</code></td><td class="topAlign"><code>6</code></td><td class="topAlign">An imaging device such as a display, printer, scanner or camera.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableDevice</code></td><td class="topAlign"><code>7</code></td><td class="topAlign">A wearable device such as a watch or pager.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyDevice</code></td><td class="topAlign"><code>8</code></td><td class="topAlign">A toy.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthDevice</code></td><td class="topAlign"><code>9</code></td><td class="topAlign">A health reated device such as heart rate or temperature monitor.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedDevice</code></td><td class="topAlign"><code>31</code></td><td class="topAlign">A device that does not fit into any of the other device classes.</td></tr>
</table></div>
<!-- @@@MajorDeviceClass -->
<!-- $$$MinorAudioVideoClass$$$UncategorizedAudioVideoDevice$$$WearableHeadsetDevice$$$HandsFreeDevice$$$Microphone$$$Loudspeaker$$$Headphones$$$PortableAudioDevice$$$CarAudio$$$SetTopBox$$$HiFiAudioDevice$$$Vcr$$$VideoCamera$$$Camcorder$$$VideoMonitor$$$VideoDisplayAndLoudspeaker$$$VideoConferencing$$$GamingDevice -->
<h3 class="fn" id="MinorAudioVideoClass-enum"><a name="MinorAudioVideoClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorAudioVideoClass</span></h3>
<p>This enum describes the minor device classes for audio/video devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedAudioVideoDevice</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized audio/video device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableHeadsetDevice</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A wearable headset device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HandsFreeDevice</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A handsfree device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::Microphone</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A microphone.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::Loudspeaker</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A loudspeaker.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::Headphones</code></td><td class="topAlign"><code>6</code></td><td class="topAlign">Headphones.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::PortableAudioDevice</code></td><td class="topAlign"><code>7</code></td><td class="topAlign">A portable audio device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CarAudio</code></td><td class="topAlign"><code>8</code></td><td class="topAlign">A car audio device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::SetTopBox</code></td><td class="topAlign"><code>9</code></td><td class="topAlign">A settop box.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HiFiAudioDevice</code></td><td class="topAlign"><code>10</code></td><td class="topAlign">A HiFi audio device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::Vcr</code></td><td class="topAlign"><code>11</code></td><td class="topAlign">A video cassette recorder.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::VideoCamera</code></td><td class="topAlign"><code>12</code></td><td class="topAlign">A video camera.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::Camcorder</code></td><td class="topAlign"><code>13</code></td><td class="topAlign">A video camera.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::VideoMonitor</code></td><td class="topAlign"><code>14</code></td><td class="topAlign">A video monitor.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::VideoDisplayAndLoudspeaker</code></td><td class="topAlign"><code>15</code></td><td class="topAlign">A video display with built-in loudspeaker.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::VideoConferencing</code></td><td class="topAlign"><code>16</code></td><td class="topAlign">A video conferencing device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::GamingDevice</code></td><td class="topAlign"><code>18</code></td><td class="topAlign">A gaming device.</td></tr>
</table></div>
<!-- @@@MinorAudioVideoClass -->
<!-- $$$MinorComputerClass$$$UncategorizedComputer$$$DesktopComputer$$$ServerComputer$$$LaptopComputer$$$HandheldClamShellComputer$$$HandheldComputer$$$WearableComputer -->
<h3 class="fn" id="MinorComputerClass-enum"><a name="MinorComputerClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorComputerClass</span></h3>
<p>This enum describes the minor device classes for computer devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedComputer</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized computer device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::DesktopComputer</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A desktop computer.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ServerComputer</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A server computer.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::LaptopComputer</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">A laptop computer.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HandheldClamShellComputer</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A clamshell handheld computer or PDA.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HandheldComputer</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A handheld computer or PDA.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableComputer</code></td><td class="topAlign"><code>6</code></td><td class="topAlign">A wearable computer.</td></tr>
</table></div>
<!-- @@@MinorComputerClass -->
<!-- $$$MinorHealthClass$$$UncategorizedHealthDevice$$$HealthBloodPressureMonitor$$$HealthThermometer$$$HealthWeightScale$$$HealthGlucoseMeter$$$HealthPulseOximeter$$$HealthDataDisplay$$$HealthStepCounter -->
<h3 class="fn" id="MinorHealthClass-enum"><a name="MinorHealthClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorHealthClass</span></h3>
<p>This enum describes the minor device classes for health devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedHealthDevice</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized health device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthBloodPressureMonitor</code></td><td class="topAlign"><code>0x1</code></td><td class="topAlign">A blood pressure monitor.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthThermometer</code></td><td class="topAlign"><code>0x2</code></td><td class="topAlign">A Thermometer.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthWeightScale</code></td><td class="topAlign"><code>0x3</code></td><td class="topAlign">A scale.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthGlucoseMeter</code></td><td class="topAlign"><code>0x4</code></td><td class="topAlign">A glucose meter.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthPulseOximeter</code></td><td class="topAlign"><code>0x5</code></td><td class="topAlign">A blood oxygen saturation meter.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthDataDisplay</code></td><td class="topAlign"><code>0x7</code></td><td class="topAlign">A data display.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::HealthStepCounter</code></td><td class="topAlign"><code>0x8</code></td><td class="topAlign">A pedometer.</td></tr>
</table></div>
<!-- @@@MinorHealthClass -->
<!-- $$$MinorImagingClass$$$UncategorizedImagingDevice$$$ImageDisplay$$$ImageCamera$$$ImageScanner$$$ImagePrinter -->
<h3 class="fn" id="MinorImagingClass-enum"><a name="MinorImagingClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorImagingClass</span></h3>
<p>This enum describes the minor device classes for imaging devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedImagingDevice</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized imaging device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ImageDisplay</code></td><td class="topAlign"><code>0x04</code></td><td class="topAlign">A device capable of displaying images.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ImageCamera</code></td><td class="topAlign"><code>0x08</code></td><td class="topAlign">A camera.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ImageScanner</code></td><td class="topAlign"><code>0x10</code></td><td class="topAlign">An image scanner.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ImagePrinter</code></td><td class="topAlign"><code>0x20</code></td><td class="topAlign">A printer.</td></tr>
</table></div>
<!-- @@@MinorImagingClass -->
<!-- $$$MinorMiscellaneousClass$$$UncategorizedMiscellaneous -->
<h3 class="fn" id="MinorMiscellaneousClass-enum"><a name="MinorMiscellaneousClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorMiscellaneousClass</span></h3>
<p>This enum describes the minor device classes for miscellaneous Bluetooth devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedMiscellaneous</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized miscellaneous device.</td></tr>
</table></div>
<!-- @@@MinorMiscellaneousClass -->
<!-- $$$MinorNetworkClass$$$NetworkFullService$$$NetworkLoadFactorOne$$$NetworkLoadFactorTwo$$$NetworkLoadFactorThree$$$NetworkLoadFactorFour$$$NetworkLoadFactorFive$$$NetworkLoadFactorSix$$$NetworkNoService -->
<h3 class="fn" id="MinorNetworkClass-enum"><a name="MinorNetworkClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorNetworkClass</span></h3>
<p>This enum describes the minor device classes for local area network access devices. Local area network access devices use the minor device class to specify the current network utilization.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkFullService</code></td><td class="topAlign"><code>0x00</code></td><td class="topAlign">100% of the total bandwidth is available.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorOne</code></td><td class="topAlign"><code>0x08</code></td><td class="topAlign">0 - 17% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorTwo</code></td><td class="topAlign"><code>0x10</code></td><td class="topAlign">17 - 33% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorThree</code></td><td class="topAlign"><code>0x18</code></td><td class="topAlign">33 - 50% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorFour</code></td><td class="topAlign"><code>0x20</code></td><td class="topAlign">50 - 67% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorFive</code></td><td class="topAlign"><code>0x28</code></td><td class="topAlign">67 - 83% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkLoadFactorSix</code></td><td class="topAlign"><code>0x30</code></td><td class="topAlign">83 - 99% of the total bandwidth is currently being used.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkNoService</code></td><td class="topAlign"><code>0x38</code></td><td class="topAlign">No network service available.</td></tr>
</table></div>
<!-- @@@MinorNetworkClass -->
<!-- $$$MinorPeripheralClass$$$UncategorizedPeripheral$$$KeyboardPeripheral$$$PointingDevicePeripheral$$$KeyboardWithPointingDevicePeripheral$$$JoystickPeripheral$$$GamepadPeripheral$$$RemoteControlPeripheral$$$SensingDevicePeripheral$$$DigitizerTabletPeripheral$$$CardReaderPeripheral -->
<h3 class="fn" id="MinorPeripheralClass-enum"><a name="MinorPeripheralClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorPeripheralClass</span></h3>
<p>This enum describes the minor device classes for peripheral devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedPeripheral</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized peripheral device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::KeyboardPeripheral</code></td><td class="topAlign"><code>0x10</code></td><td class="topAlign">A keyboard.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::PointingDevicePeripheral</code></td><td class="topAlign"><code>0x20</code></td><td class="topAlign">A pointing device, for example a mouse.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::KeyboardWithPointingDevicePeripheral</code></td><td class="topAlign"><code>0x30</code></td><td class="topAlign">A keyboard with built-in pointing device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::JoystickPeripheral</code></td><td class="topAlign"><code>0x01</code></td><td class="topAlign">A joystick.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::GamepadPeripheral</code></td><td class="topAlign"><code>0x02</code></td><td class="topAlign">A game pad.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::RemoteControlPeripheral</code></td><td class="topAlign"><code>0x03</code></td><td class="topAlign">A remote control.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::SensingDevicePeripheral</code></td><td class="topAlign"><code>0x04</code></td><td class="topAlign">A sensing device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::DigitizerTabletPeripheral</code></td><td class="topAlign"><code>0x05</code></td><td class="topAlign">A digitizer tablet peripheral.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CardReaderPeripheral</code></td><td class="topAlign"><code>0x06</code></td><td class="topAlign">A card reader peripheral.</td></tr>
</table></div>
<!-- @@@MinorPeripheralClass -->
<!-- $$$MinorPhoneClass$$$UncategorizedPhone$$$CellularPhone$$$CordlessPhone$$$SmartPhone$$$WiredModemOrVoiceGatewayPhone$$$CommonIsdnAccessPhone -->
<h3 class="fn" id="MinorPhoneClass-enum"><a name="MinorPhoneClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorPhoneClass</span></h3>
<p>This enum describes the minor device classes for phone devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedPhone</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized phone device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CellularPhone</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A cellular phone.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CordlessPhone</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A cordless phone.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::SmartPhone</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">A smart phone.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WiredModemOrVoiceGatewayPhone</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A wired modem or voice gateway.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CommonIsdnAccessPhone</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A device that provides ISDN access.</td></tr>
</table></div>
<!-- @@@MinorPhoneClass -->
<!-- $$$MinorToyClass$$$UncategorizedToy$$$ToyRobot$$$ToyVehicle$$$ToyDoll$$$ToyController$$$ToyGame -->
<h3 class="fn" id="MinorToyClass-enum"><a name="MinorToyClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorToyClass</span></h3>
<p>This enum describes the minor device classes for toy devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedToy</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized toy.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyRobot</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A toy robot.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyVehicle</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A toy vehicle.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyDoll</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">A toy doll or action figure.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyController</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A controller.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ToyGame</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A game.</td></tr>
</table></div>
<!-- @@@MinorToyClass -->
<!-- $$$MinorWearableClass$$$UncategorizedWearableDevice$$$WearableWristWatch$$$WearablePager$$$WearableJacket$$$WearableHelmet$$$WearableGlasses -->
<h3 class="fn" id="MinorWearableClass-enum"><a name="MinorWearableClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">MinorWearableClass</span></h3>
<p>This enum describes the minor device classes for wearable devices.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::UncategorizedWearableDevice</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">An uncategorized wearable device.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableWristWatch</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">A wristwatch.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearablePager</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">A pager.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableJacket</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">A jacket.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableHelmet</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">A helmet.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::WearableGlasses</code></td><td class="topAlign"><code>5</code></td><td class="topAlign">A pair of glasses.</td></tr>
</table></div>
<!-- @@@MinorWearableClass -->
<!-- $$$ServiceClass$$$NoService$$$PositioningService$$$NetworkingService$$$RenderingService$$$CapturingService$$$ObjectTransferService$$$AudioService$$$TelephonyService$$$InformationService$$$AllServices -->
<h3 class="flags" id="ServiceClass-enum"><a name="ServiceClass-enum"></a>enum QBluetoothDeviceInfo::<span class="name">ServiceClass</span><br/>flags QBluetoothDeviceInfo::<span class="name">ServiceClasses</span></h3>
<p>This enum describes the service class of the Bluetooth device. The service class is used as a rudimentary form of service discovery. It is meant to provide a list of the types of services that the device might provide.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NoService</code></td><td class="topAlign"><code>0x0000</code></td><td class="topAlign">The device does not provide any services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::PositioningService</code></td><td class="topAlign"><code>0x0001</code></td><td class="topAlign">The device provides positioning services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::NetworkingService</code></td><td class="topAlign"><code>0x0002</code></td><td class="topAlign">The device provides networking services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::RenderingService</code></td><td class="topAlign"><code>0x0004</code></td><td class="topAlign">The device provides rendering services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::CapturingService</code></td><td class="topAlign"><code>0x0008</code></td><td class="topAlign">The device provides capturing services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::ObjectTransferService</code></td><td class="topAlign"><code>0x0010</code></td><td class="topAlign">The device provides object transfer services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::AudioService</code></td><td class="topAlign"><code>0x0020</code></td><td class="topAlign">The device provides audio services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::TelephonyService</code></td><td class="topAlign"><code>0x0040</code></td><td class="topAlign">The device provides telephony services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::InformationService</code></td><td class="topAlign"><code>0x0080</code></td><td class="topAlign">The device provides information services.</td></tr>
<tr><td class="topAlign"><code>QBluetoothDeviceInfo::AllServices</code></td><td class="topAlign"><code>0x07ff</code></td><td class="topAlign">The device provides services of all types.</td></tr>
</table></div>
<p>The ServiceClasses type is a typedef for <a href="../qtcore/qflags.html">QFlags</a><ServiceClass>. It stores an OR combination of ServiceClass values.</p>
<!-- @@@ServiceClass -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QBluetoothDeviceInfo[overload1]$$$QBluetoothDeviceInfo -->
<h3 class="fn" id="QBluetoothDeviceInfo"><a name="QBluetoothDeviceInfo"></a>QBluetoothDeviceInfo::<span class="name">QBluetoothDeviceInfo</span>()</h3>
<p>Constructs an invalid <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object.</p>
<!-- @@@QBluetoothDeviceInfo -->
<!-- $$$QBluetoothDeviceInfo$$$QBluetoothDeviceInfoconstQBluetoothAddress&constQString&quint32 -->
<h3 class="fn" id="QBluetoothDeviceInfo-2"><a name="QBluetoothDeviceInfo-2"></a>QBluetoothDeviceInfo::<span class="name">QBluetoothDeviceInfo</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &<i> address</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i> name</i>, <span class="type"><a href="../qtcore/qtglobal.html#quint32-typedef">quint32</a></span><i> classOfDevice</i>)</h3>
<p>Constructs a <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object with Bluetooth address <i>address</i>, device name <i>name</i> and the encoded class of device <i>classOfDevice</i>.</p>
<p>The <i>classOfDevice</i> parameter is encoded in the following format</p>
<div class="table"><table class="generic">
<thead><tr class="qt-style"><th >Bits</th><th >Size</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td >0 - 1</td><td >2</td><td >Unused, set to 0.</td></tr>
<tr valign="top" class="even"><td >2 - 7</td><td >6</td><td >Minor device class.</td></tr>
<tr valign="top" class="odd"><td >8 - 12</td><td >5</td><td >Major device class.</td></tr>
<tr valign="top" class="even"><td >13 - 23</td><td >11</td><td >Service class.</td></tr>
</table></div>
<!-- @@@QBluetoothDeviceInfo -->
<!-- $$$QBluetoothDeviceInfo$$$QBluetoothDeviceInfoconstQBluetoothUuid&constQString&quint32 -->
<h3 class="fn" id="QBluetoothDeviceInfo-3"><a name="QBluetoothDeviceInfo-3"></a>QBluetoothDeviceInfo::<span class="name">QBluetoothDeviceInfo</span>(const <span class="type"><a href="qbluetoothuuid.html">QBluetoothUuid</a></span> &<i> uuid</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i> name</i>, <span class="type"><a href="../qtcore/qtglobal.html#quint32-typedef">quint32</a></span><i> classOfDevice</i>)</h3>
<p>Constructs a <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object with unique <i>uuid</i>, device name <i>name</i> and the encoded class of device <i>classOfDevice</i>.</p>
<p>This constructor is required for Low Energy devices on OS X and iOS. CoreBluetooth API hides addresses and provides unique UUIDs to identify a device. This UUID is not the same thing as a service UUID and is required to work later with CoreBluetooth API and discovered devices.</p>
<p>This function was introduced in Qt 5.5.</p>
<!-- @@@QBluetoothDeviceInfo -->
<!-- $$$QBluetoothDeviceInfo$$$QBluetoothDeviceInfoconstQBluetoothDeviceInfo& -->
<h3 class="fn" id="QBluetoothDeviceInfo-4"><a name="QBluetoothDeviceInfo-4"></a>QBluetoothDeviceInfo::<span class="name">QBluetoothDeviceInfo</span>(const <span class="type"><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></span> &<i> other</i>)</h3>
<p>Constructs a <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> that is a copy of <i>other</i>.</p>
<!-- @@@QBluetoothDeviceInfo -->
<!-- $$$~QBluetoothDeviceInfo[overload1]$$$~QBluetoothDeviceInfo -->
<h3 class="fn" id="dtor.QBluetoothDeviceInfo"><a name="dtor.QBluetoothDeviceInfo"></a>QBluetoothDeviceInfo::<span class="name">~QBluetoothDeviceInfo</span>()</h3>
<p>Destroys the <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a>.</p>
<!-- @@@~QBluetoothDeviceInfo -->
<!-- $$$address[overload1]$$$address -->
<h3 class="fn" id="address"><a name="address"></a><span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> QBluetoothDeviceInfo::<span class="name">address</span>() const</h3>
<p>Returns the address of the device.</p>
<!-- @@@address -->
<!-- $$$coreConfigurations[overload1]$$$coreConfigurations -->
<h3 class="fn" id="coreConfigurations"><a name="coreConfigurations"></a><span class="type"><a href="qbluetoothdeviceinfo.html#CoreConfiguration-enum">QBluetoothDeviceInfo::CoreConfigurations</a></span> QBluetoothDeviceInfo::<span class="name">coreConfigurations</span>() const</h3>
<p>Returns the configuration of the device. If device configuration is not set, basic rate device configuration will be returned.</p>
<p>This function was introduced in Qt 5.4.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#setCoreConfigurations">setCoreConfigurations</a>().</p>
<!-- @@@coreConfigurations -->
<!-- $$$deviceUuid[overload1]$$$deviceUuid -->
<h3 class="fn" id="deviceUuid"><a name="deviceUuid"></a><span class="type"><a href="qbluetoothuuid.html">QBluetoothUuid</a></span> QBluetoothDeviceInfo::<span class="name">deviceUuid</span>() const</h3>
<p>Returns a unique identifier for a Bluetooth device without an address.</p>
<p>In general, this uuid is invalid on every platform but OS X and iOS. It is used as a workaround for those two platforms as they do not provide Bluetooth addresses for found Bluetooth Low Energy devices. Every other platform uses <a href="qbluetoothdeviceinfo.html#address">address</a>() instead.</p>
<p>This function was introduced in Qt 5.5.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#setDeviceUuid">setDeviceUuid</a>().</p>
<!-- @@@deviceUuid -->
<!-- $$$isCached[overload1]$$$isCached -->
<h3 class="fn" id="isCached"><a name="isCached"></a><span class="type">bool</span> QBluetoothDeviceInfo::<span class="name">isCached</span>() const</h3>
<p>Returns true if the <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object is created from cached data.</p>
<!-- @@@isCached -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn" id="isValid"><a name="isValid"></a><span class="type">bool</span> QBluetoothDeviceInfo::<span class="name">isValid</span>() const</h3>
<p>Returns true if the <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object is valid, otherwise returns false.</p>
<!-- @@@isValid -->
<!-- $$$majorDeviceClass[overload1]$$$majorDeviceClass -->
<h3 class="fn" id="majorDeviceClass"><a name="majorDeviceClass"></a><span class="type"><a href="qbluetoothdeviceinfo.html#MajorDeviceClass-enum">MajorDeviceClass</a></span> QBluetoothDeviceInfo::<span class="name">majorDeviceClass</span>() const</h3>
<p>Returns the major device class of the device.</p>
<!-- @@@majorDeviceClass -->
<!-- $$$minorDeviceClass[overload1]$$$minorDeviceClass -->
<h3 class="fn" id="minorDeviceClass"><a name="minorDeviceClass"></a><span class="type"><a href="../qtcore/qtglobal.html#quint8-typedef">quint8</a></span> QBluetoothDeviceInfo::<span class="name">minorDeviceClass</span>() const</h3>
<p>Returns the minor device class of the device.</p>
<!-- @@@minorDeviceClass -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn" id="name"><a name="name"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QBluetoothDeviceInfo::<span class="name">name</span>() const</h3>
<p>Returns the name assigned to the device.</p>
<!-- @@@name -->
<!-- $$$rssi[overload1]$$$rssi -->
<h3 class="fn" id="rssi"><a name="rssi"></a><span class="type"><a href="../qtcore/qtglobal.html#qint16-typedef">qint16</a></span> QBluetoothDeviceInfo::<span class="name">rssi</span>() const</h3>
<p>Returns the signal strength when the device was last scanned</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#setRssi">setRssi</a>().</p>
<!-- @@@rssi -->
<!-- $$$serviceClasses[overload1]$$$serviceClasses -->
<h3 class="fn" id="serviceClasses"><a name="serviceClasses"></a><span class="type"><a href="qbluetoothdeviceinfo.html#ServiceClass-enum">ServiceClasses</a></span> QBluetoothDeviceInfo::<span class="name">serviceClasses</span>() const</h3>
<p>Returns the service class of the device.</p>
<!-- @@@serviceClasses -->
<!-- $$$serviceUuids[overload1]$$$serviceUuidsDataCompleteness* -->
<h3 class="fn" id="serviceUuids"><a name="serviceUuids"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span><<span class="type"><a href="qbluetoothuuid.html">QBluetoothUuid</a></span>> QBluetoothDeviceInfo::<span class="name">serviceUuids</span>(<span class="type"><a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataCompleteness</a></span> *<i> completeness</i> = 0) const</h3>
<p>Returns the list of service UUIDS supported by the device. If <i>completeness</i> is not 0 it will be set to <a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataComplete</a> and the complete list of UUIDs supported by the device is returned. <a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataIncomplete</a> if additional service UUIDs are supported by the device and <a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataUnavailable</a> if no service UUID information is available.</p>
<p>This function requires both the Bluetooth devices to support the 2.1 specification.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#setServiceUuids">setServiceUuids</a>().</p>
<!-- @@@serviceUuids -->
<!-- $$$serviceUuidsCompleteness[overload1]$$$serviceUuidsCompleteness -->
<h3 class="fn" id="serviceUuidsCompleteness"><a name="serviceUuidsCompleteness"></a><span class="type"><a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataCompleteness</a></span> QBluetoothDeviceInfo::<span class="name">serviceUuidsCompleteness</span>() const</h3>
<p>Returns the completeness of the service UUID list. If <a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataComplete</a> is returned, <a href="qbluetoothdeviceinfo.html#serviceUuids">serviceUuids</a>() returns the complete list of service UUIDs supported by the device, otherwise only the partial or empty list of service UUIDs. To get a list of all services supported by the device, a full service discovery needs to be performed.</p>
<!-- @@@serviceUuidsCompleteness -->
<!-- $$$setCached[overload1]$$$setCachedbool -->
<h3 class="fn" id="setCached"><a name="setCached"></a><span class="type">void</span> QBluetoothDeviceInfo::<span class="name">setCached</span>(<span class="type">bool</span><i> cached</i>)</h3>
<p>Used by the system to set the <i>cached</i> flag if the <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> is created from cached data. Cached information may not be as accurate as data read from an active device.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#isCached">isCached</a>().</p>
<!-- @@@setCached -->
<!-- $$$setCoreConfigurations[overload1]$$$setCoreConfigurationsQBluetoothDeviceInfo::CoreConfigurations -->
<h3 class="fn" id="setCoreConfigurations"><a name="setCoreConfigurations"></a><span class="type">void</span> QBluetoothDeviceInfo::<span class="name">setCoreConfigurations</span>(<span class="type"><a href="qbluetoothdeviceinfo.html#CoreConfiguration-enum">QBluetoothDeviceInfo::CoreConfigurations</a></span><i> coreConfigs</i>)</h3>
<p>Sets the <a href="qbluetoothdeviceinfo.html#CoreConfiguration-enum">CoreConfigurations</a> of the device to <i>coreConfigs</i>. This will help to make a difference between regular and Low Energy devices.</p>
<p>This function was introduced in Qt 5.4.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#coreConfigurations">coreConfigurations</a>().</p>
<!-- @@@setCoreConfigurations -->
<!-- $$$setDeviceUuid[overload1]$$$setDeviceUuidconstQBluetoothUuid& -->
<h3 class="fn" id="setDeviceUuid"><a name="setDeviceUuid"></a><span class="type">void</span> QBluetoothDeviceInfo::<span class="name">setDeviceUuid</span>(const <span class="type"><a href="qbluetoothuuid.html">QBluetoothUuid</a></span> &<i> uuid</i>)</h3>
<p>Sets the unique identifier <i>uuid</i> for Bluetooth devices, that do not have addresses. This happens on OS X and iOS, where the CoreBluetooth API hides addresses, but provides UUIDs to identify devices/peripherals.</p>
<p>This uuid is invalid on any other platform.</p>
<p>This function was introduced in Qt 5.5.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#deviceUuid">deviceUuid</a>().</p>
<!-- @@@setDeviceUuid -->
<!-- $$$setRssi[overload1]$$$setRssiqint16 -->
<h3 class="fn" id="setRssi"><a name="setRssi"></a><span class="type">void</span> QBluetoothDeviceInfo::<span class="name">setRssi</span>(<span class="type"><a href="../qtcore/qtglobal.html#qint16-typedef">qint16</a></span><i> signal</i>)</h3>
<p>Set the <i>signal</i> strength value, used internally.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#rssi">rssi</a>().</p>
<!-- @@@setRssi -->
<!-- $$$setServiceUuids[overload1]$$$setServiceUuidsconstQList<QBluetoothUuid>&DataCompleteness -->
<h3 class="fn" id="setServiceUuids"><a name="setServiceUuids"></a><span class="type">void</span> QBluetoothDeviceInfo::<span class="name">setServiceUuids</span>(const <span class="type"><a href="../qtcore/qlist.html">QList</a></span><<span class="type"><a href="qbluetoothuuid.html">QBluetoothUuid</a></span>> &<i> uuids</i>, <span class="type"><a href="qbluetoothdeviceinfo.html#DataCompleteness-enum">DataCompleteness</a></span><i> completeness</i>)</h3>
<p>Sets the list of service UUIDs to <i>uuids</i> and the completeness of the data to <i>completeness</i>.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#serviceUuids">serviceUuids</a>().</p>
<!-- @@@setServiceUuids -->
<!-- $$$operator!=[overload1]$$$operator!=constQBluetoothDeviceInfo& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QBluetoothDeviceInfo::<span class="name">operator!=</span>(const <span class="type"><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></span> &<i> other</i>) const</h3>
<p>Returns true if this object is different from <i>other</i>, or false otherwise.</p>
<p><b>See also </b><a href="qbluetoothdeviceinfo.html#operator-eq-eq">operator==</a>().</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQBluetoothDeviceInfo& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></span> & QBluetoothDeviceInfo::<span class="name">operator=</span>(const <span class="type"><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></span> &<i> other</i>)</h3>
<p>Makes a copy of the <i>other</i> and assigns it to this <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQBluetoothDeviceInfo& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QBluetoothDeviceInfo::<span class="name">operator==</span>(const <span class="type"><a href="qbluetoothdeviceinfo.html#QBluetoothDeviceInfo">QBluetoothDeviceInfo</a></span> &<i> other</i>) const</h3>
<p>Returns true if the <i>other</i> <a href="qbluetoothdeviceinfo.html">QBluetoothDeviceInfo</a> object and this are identical.</p>
<!-- @@@operator== -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|