13#include <QtCore/QLoggingCategory>
48 bool result = sPriv->deactivateActiveListening();
59 qCWarning(QT_BT_ANDROID) <<
"Serviceinfo registerService() failed due to"
60 "missing permissions";
68 if (!localAdapter.isNull()) {
71 if (hostInfo.address() == localAdapter) {
78 qCWarning(QT_BT_ANDROID) << localAdapter.toString() <<
"is not a valid local Bt adapter";
98 bool result = sPriv->initiateActiveListening(
QT_BEGIN_NAMESPACE bool ensureAndroidPermission(QBluetoothPermission::CommunicationModes modes)
static QList< QBluetoothHostInfo > allDevices()
Returns a list of all available local Bluetooth devices.
QBluetoothServiceInfo::Sequence protocolDescriptor(QBluetoothUuid::ProtocolUuid protocol) const
QMap< quint16, QVariant > attributes
QBluetoothServiceInfoPrivate()
bool registerService(const QBluetoothAddress &localAdapter=QBluetoothAddress())
int serverChannel() const
bool isRegistered() const
~QBluetoothServiceInfoPrivate()
bool isEmpty() const noexcept
T value(const Key &key, const T &defaultValue=T()) const
QString toString() const
Returns the variant as a QString if the variant has a userType() including, but not limited to:
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE QHash< QBluetoothServerPrivate *, int > __fakeServerPorts
QT_BEGIN_NAMESPACE QHash< QBluetoothServerPrivate *, int > __fakeServerPorts
#define qCWarning(category,...)
#define Q_DECLARE_LOGGING_CATEGORY(name)