System.Bluetooth.TBluetoothGattServer.OnDisconnectDevice
Delphi
property OnDisconnectDevice: TConnectLEDeviceEvent read FOnDisconnectDevice write FOnDisconnectDevice;
C++
__property TConnectLEDeviceEvent OnDisconnectDevice = {read=FOnDisconnectDevice, write=FOnDisconnectDevice};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Occurs when a remote device disconnects from your GATT server.
The event handler of OnDisconnectDevice receives the following parameters:
Sender
is your GATT server.ADevice
is the remote device that is now disconnected from your GATT server.
Platform Support
Platform | Support |
---|---|
Android |
|
iOS |
|
OS X |
|
Windows |