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