System.Bluetooth.Components.TBluetoothLE.DoDisconnectDevice
Delphi
procedure DoDisconnectDevice(const Sender: TObject; const ADevice: TBluetoothLEDevice);
C++
void __fastcall DoDisconnectDevice(System::TObject* const Sender, System::Bluetooth::TBluetoothLEDevice* const ADevice);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Dispatcher of the OnDisconnectDevice event.
DoDisconnectDevice is called when a remote device disconnects from the GATT server of your component.
This event dispatcher receives the following parameters:
Sender
is the GATT server of your component.ADevice
is the remote device that is now disconnected from the GATT server of your component.
Platform Support
Currently there is no platform that supports reporting that remote devices disconnect from the GATT server of your component as clients.