Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ startDiscovery()

virtual void IceBT::Plugin::startDiscovery ( const std::string & address,
std::function< void(const std::string &addr, const PropertyMap &props)> cb )
pure virtual

Starts Bluetooth device discovery on the adapter with the specified address.

cb will be invoked for each discovered device. The same device may be reported more than once. Discovery remains active until explicitly stopped by a call to stopDiscovery, or via other administrative means.

Parameters
addressThe address associated with the Bluetooth adapter.
cbThe callback to invoke when a device is discovered.