![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qbluetoothservicediscoveryagent_p.h>
Public Types | |
enum | DiscoveryState { Inactive , DeviceDiscovery , ServiceDiscovery } |
Public Member Functions | |
QBluetoothServiceDiscoveryAgentPrivate (QBluetoothServiceDiscoveryAgent *qp, const QBluetoothAddress &deviceAdapter) | |
~QBluetoothServiceDiscoveryAgentPrivate () | |
void | startDeviceDiscovery () |
Starts device discovery. | |
void | stopDeviceDiscovery () |
Stops device discovery. | |
void | startServiceDiscovery () |
Starts service discovery for the next device. | |
void | stopServiceDiscovery () |
Stops service discovery. | |
void | setDiscoveryState (DiscoveryState s) |
DiscoveryState | discoveryState () |
void | setDiscoveryMode (QBluetoothServiceDiscoveryAgent::DiscoveryMode m) |
QBluetoothServiceDiscoveryAgent::DiscoveryMode | DiscoveryMode () |
void | _q_deviceDiscoveryFinished () |
Called when device discovery finishes. | |
void | _q_deviceDiscovered (const QBluetoothDeviceInfo &info) |
void | _q_serviceDiscoveryFinished () |
void | _q_deviceDiscoveryError (QBluetoothDeviceDiscoveryAgent::Error) |
Protected Attributes | |
QBluetoothServiceDiscoveryAgent * | q_ptr |
Definition at line 71 of file qbluetoothservicediscoveryagent_p.h.
Enumerator | |
---|---|
Inactive | |
DeviceDiscovery | |
ServiceDiscovery |
Definition at line 85 of file qbluetoothservicediscoveryagent_p.h.
QBluetoothServiceDiscoveryAgentPrivate::QBluetoothServiceDiscoveryAgentPrivate | ( | QBluetoothServiceDiscoveryAgent * | qp, |
const QBluetoothAddress & | deviceAdapter ) |
Definition at line 26 of file qbluetoothservicediscoveryagent_android.cpp.
References QBluetoothServiceDiscoveryAgentPrivate().
Referenced by QBluetoothServiceDiscoveryAgentPrivate().
QBluetoothServiceDiscoveryAgentPrivate::~QBluetoothServiceDiscoveryAgentPrivate | ( | ) |
Definition at line 70 of file qbluetoothservicediscoveryagent_android.cpp.
void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscovered | ( | const QBluetoothDeviceInfo & | info | ) |
Definition at line 490 of file qbluetoothservicediscoveryagent.cpp.
void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryError | ( | QBluetoothDeviceDiscoveryAgent::Error | newError | ) |
Definition at line 500 of file qbluetoothservicediscoveryagent.cpp.
void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryFinished | ( | ) |
Called when device discovery finishes.
Definition at line 471 of file qbluetoothservicediscoveryagent.cpp.
References startServiceDiscovery().
void QBluetoothServiceDiscoveryAgentPrivate::_q_serviceDiscoveryFinished | ( | ) |
Definition at line 546 of file qbluetoothservicediscoveryagent.cpp.
References startServiceDiscovery().
|
inline |
Definition at line 104 of file qbluetoothservicediscoveryagent_p.h.
|
inline |
Definition at line 101 of file qbluetoothservicediscoveryagent_p.h.
|
inline |
Definition at line 103 of file qbluetoothservicediscoveryagent_p.h.
|
inline |
Definition at line 100 of file qbluetoothservicediscoveryagent_p.h.
void QBluetoothServiceDiscoveryAgentPrivate::startDeviceDiscovery | ( | ) |
Starts device discovery.
Definition at line 420 of file qbluetoothservicediscoveryagent.cpp.
void QBluetoothServiceDiscoveryAgentPrivate::startServiceDiscovery | ( | ) |
Starts service discovery for the next device.
Definition at line 522 of file qbluetoothservicediscoveryagent.cpp.
Referenced by _q_deviceDiscoveryFinished(), and _q_serviceDiscoveryFinished().
void QBluetoothServiceDiscoveryAgentPrivate::stopDeviceDiscovery | ( | ) |
Stops device discovery.
Definition at line 452 of file qbluetoothservicediscoveryagent.cpp.
void QBluetoothServiceDiscoveryAgentPrivate::stopServiceDiscovery | ( | ) |
Stops service discovery.
Definition at line 539 of file qbluetoothservicediscoveryagent.cpp.
QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::deviceAddress |
Definition at line 143 of file qbluetoothservicediscoveryagent_p.h.
QList<QBluetoothDeviceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredDevices |
Definition at line 145 of file qbluetoothservicediscoveryagent_p.h.
QList<QBluetoothServiceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredServices |
Definition at line 144 of file qbluetoothservicediscoveryagent_p.h.
QBluetoothServiceDiscoveryAgent::Error QBluetoothServiceDiscoveryAgentPrivate::error |
Definition at line 141 of file qbluetoothservicediscoveryagent_p.h.
QString QBluetoothServiceDiscoveryAgentPrivate::errorString |
Definition at line 142 of file qbluetoothservicediscoveryagent_p.h.
QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::m_deviceAdapterAddress |
Definition at line 146 of file qbluetoothservicediscoveryagent_p.h.
|
protected |
Definition at line 202 of file qbluetoothservicediscoveryagent_p.h.