System.Bluetooth.Components.TBluetoothLE.OnEndDiscoverServices
Delphi
property OnEndDiscoverServices: TDiscoverServicesEvent read FOnEndDiscoverServices write FOnEndDiscoverServices;
C++
__property System::Bluetooth::TDiscoverServicesEvent OnEndDiscoverServices = {read=FOnEndDiscoverServices, write=FOnEndDiscoverServices};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Warning: OnEndDiscoverServices is deprecated. Please use OnServicesDiscovered.
Occurs when the list of services that a device provides are discovered.
OnEndDiscoverServices occurs:
- After a call to DiscoverServices, unless the service discovery operation fails.
- As a result of a previous call to DiscoverDevices that included a non-empty
AList
argument. OnEndDiscoverServices occurs once per discovered remote device.
The handler of OnEndDiscoverServices receives the following parameters:
Sender
is a discovered device.AServiceList
is a list of services that the discovered device provides.