System.Bluetooth.TBluetoothManager.DoDiscoveryEnd
Delphi
procedure DoDiscoveryEnd(const Sender: TObject; const ADeviceList: TBluetoothDeviceList); virtual;
C++
virtual void __fastcall DoDiscoveryEnd(System::TObject* const Sender, TBluetoothDeviceList* const ADeviceList);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothManager |
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 TBluetoothManager has discovered.
- Changes the value of FLastDiscoveredTimeStamp to the current time.
- Triggers the OnDiscoveryEnd event, with
Sender
andADeviceList
as arguments.