System.Bluetooth.TBluetoothLEAdapter.DoStartLeDiscovery
Delphi
function DoStartLeDiscovery(Timeout: Cardinal; const AFilterUUIDList: TBluetoothUUIDsList = nil): Boolean; virtual; deprecated 'Use DoStartDiscovery';
C++
virtual bool __fastcall DoStartLeDiscovery _DEPRECATED_ATTRIBUTE1("Use DoStartDiscovery") (unsigned Timeout, TBluetoothUUIDsList* const AFilterUUIDList = (TBluetoothUUIDsList*)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEAdapter |
Description
Warning: DoStartLeDiscovery is deprecated. Please use DoStartDiscovery.
- 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 DoStartLeDiscovery.
DoStartLeDiscovery 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.
DoStartLeDiscovery returns True
if the discovery starts successfully, or False
if something prevents the discovery from starting.
Platform Support
Platform | Notes |
---|---|
32-bit Windows |
|
OS X |
|
iOS |
|
Android |
|