System.Bluetooth.TBluetoothLEAdapter.DoStartDiscovery
Delphi
function DoStartDiscovery(Timeout: Cardinal; const AFilterUUIDList: TBluetoothUUIDsList = nil): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoStartDiscovery(unsigned Timeout, TBluetoothUUIDsList* const AFilterUUIDList = (TBluetoothUUIDsList*)(0x0)) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEAdapter |
Description
- Note: This is an abstract method that platform-specific subclasses of TBluetoothLEAdapter implement.
Starts a discovery operation to find remote devices using Bluetooth Low Energy.
StartDiscovery calls DoStartDiscovery.
DoStartDiscovery accepts the following parameters:
Timeout
: How much time you want to spend discovering remote devices using Bluetooth Low Energy.AFilterUUIDList
(Optional): A list of one or more Bluetooth UUIDs.
When the discovery operation finishes, your adapter calls DoDiscoveryEnd providing a list of discovered remote devices.
DoStartDiscovery returns True
if the discovery starts successfully, or False
if something prevents the discovery from starting.
Platform Support
Platform | Notes |
---|---|
32-bit Windows |
|
Mac OS X |
|
iOS |
|
Android |
|