System.Bluetooth.TBluetoothGattServer.OnServiceAdded

From RAD Studio API Documentation
Jump to: navigation, search

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:

  • Sender is your GATT server.
  • AService is the service that has been added to your GATT server.
  • AGattStatus is the exit status of the add operation.

See Also