System.Bluetooth.Components.TBluetoothLE.OnDisconnectDevice
Delphi
property OnDisconnectDevice: TConnectLEDeviceEvent read FOnDisconnectDevice write FOnDisconnectDevice;
C++
__property System::Bluetooth::TConnectLEDeviceEvent OnDisconnectDevice = {read=FOnDisconnectDevice, write=FOnDisconnectDevice};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Occurs when a remote device disconnects from the GATT server of your component.
The event handler of OnDisconnectDevice receives the following parameters:
Senderis the GATT server of your component.ADeviceis 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.