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