QtBluezDiscoveryManager Class

Header: #include <QtBluezDiscoveryManager>
Inherits: QObject

Detailed Description

\internal

This class manages the access to "org.bluez.Adapter1::Start/StopDiscovery.

The flag is a system flag. We want to ensure that the various Qt classes don't turn the flag on and off and thereby get into their way. If some other system component changes the flag (e.g. adapter removed) we notify all Qt classes about the change by emitting discoveryInterrupted(QString). Classes should indicate this via an appropriate error message to the user.

Once the signal was emitted, all existing requests for discovery mode on the same adapter have to be renewed via registerDiscoveryInterest(QString).