System.Bluetooth.Components.TBluetoothLE.DoInternalDiscoveryEnd
Delphi
procedure DoInternalDiscoveryEnd(const Sender: TObject; const ADeviceList: TBluetoothLEDeviceList); overload;
C++
void __fastcall DoInternalDiscoveryEnd(System::TObject* const Sender, System::Bluetooth::TBluetoothLEDeviceList* const ADeviceList)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Handler of the OnDiscoveryEnd event of the manager of your component.
DoInternalDiscoveryEnd is a protected method that is called when the OnDiscoveryEnd event of the manager of your component occurs, as a result of a previous call to DiscoverDevices, and receives the following parameters:
Senderis the manager of your component.ADeviceListis a list of remote devices that were discovered.
DoInternalDiscoveryEnd is responsible for:
- Updating the list of discovered devices of your component with the data from
ADeviceList. - Calling DoOnEndDiscoverDevices, the dispatcher of the OnEndDiscoverDevices event of your component.
- Calling DoOnServicesDiscovered, the dispatcher of the OnServicesDiscovered event of your component, for each one of the devices that were discovered.