System.Bluetooth.TBluetoothGattServer.DoServiceAdded

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoServiceAdded(AStatus: TBluetoothGattStatus; const AService: TBluetoothGattService); virtual; abstract;

C++

virtual void __fastcall DoServiceAdded(TBluetoothGattStatus AStatus, TBluetoothGattService* const AService) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer

Description

Dispatcher of the OnServiceAdded event.

DoServiceAdded is called after a service is added to your GATT server as a result of a previous call to AddService.

This event dispatcher receives the following parameters:

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

See Also