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