System.Bluetooth.Components.TBluetoothLE.OnServicesDiscovered
Delphi
property OnServicesDiscovered: TDiscoverServicesEvent read FOnServicesDiscovered write FOnServicesDiscovered;
C++
__property System::Bluetooth::TDiscoverServicesEvent OnServicesDiscovered = {read=FOnServicesDiscovered, write=FOnServicesDiscovered};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Occurs when the list of services that a device provides is discovered.
OnServicesDiscovered 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. OnServicesDiscovered occurs once per discovered remote device.
The handler of OnServicesDiscovered receives the following parameters:
Sender
is a discovered device.AServiceList
is a list of services that the discovered device provides.
See Also
- System.Bluetooth.Components.TBluetoothLE
- System.Bluetooth.TDiscoverServicesEvent
- System.Bluetooth.TBluetoothGattServiceList
- System.Bluetooth.TBluetoothLEDevice
- System.Bluetooth.Components.TBluetoothLE.DiscoverDevices
- System.Bluetooth.Components.TBluetoothLE.DoOnServicesDiscovered
- System.Bluetooth.Components.TBluetoothLE.GetServices