System.Bluetooth.TBluetoothGattServer.OnServiceAdded
Delphi
property OnServiceAdded: TGattServiceEvent read FOnGattServiceAdded write FOnGattServiceAdded;
C++
__property TGattServiceEvent OnServiceAdded = {read=FOnGattServiceAdded, write=FOnGattServiceAdded};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Occurs after a service is added to your GATT server as a result of a previous call to AddService.
The event handler of OnServiceAdded receives the following parameters:
Senderis your GATT server.AServiceis the service that has been added to your GATT server.AGattStatusis the exit status of the add operation.
See Also
- System.Bluetooth.TGattServiceEvent
- System.Bluetooth.TBluetoothGattStatus
- System.Bluetooth.TBluetoothGattService