System.Bluetooth.TBluetoothLEManager.DoDiscoveryEnd
Delphi
procedure DoDiscoveryEnd(const Sender: TObject; const ADeviceList: TBluetoothLEDeviceList); virtual;
C++
virtual void __fastcall DoDiscoveryEnd(System::TObject* const Sender, TBluetoothLEDeviceList* const ADeviceList);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEManager |
Description
Dispatcher of the OnDiscoveryEnd event.
When you call StartDiscovery, you start a discovery operation to find remote devices using Bluetooth. When the discovery operation finishes, your manager calls DoDiscoveryEnd.
This event dispatcher receives the following parameters:
Sender
is the adapter of your manager.ADeviceList
is a list of the remote devices that TBluetoothLEManager has discovered.
- Changes the value of FLastDiscoveredLETimeStamp to the current time.
- Filters the list of devices by services, if provided with the list of services.
- Triggers the OnDiscoveryEnd event, with
Sender
andADeviceList
as arguments.
See Also
- System.Bluetooth.TBluetoothLEDeviceList
- System.Bluetooth.TBluetoothLEManager.CurrentAdapter
- System.Bluetooth.TBluetoothLEManager.FLastDiscoveredLETimeStamp
- System.Bluetooth.TBluetoothLEManager.OnDiscoveryEnd
- System.Bluetooth.TBluetoothLEManager.StartDiscovery
- System.Bluetooth.TBluetoothUUIDsList
- Event Dispatchers