System.Bluetooth.Components.TBluetoothLE.DoServiceAdded

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoServiceAdded(const Sender: TObject; const AService: TBluetoothGattService;
const AGattStatus: TBluetoothGattStatus);

C++

void __fastcall DoServiceAdded(System::TObject* const Sender, System::Bluetooth::TBluetoothGattService* const AService, const System::Bluetooth::TBluetoothGattStatus AGattStatus);

Properties

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

Description

Dispatcher of the OnServiceAdded event.

DoServiceAdded is called 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.

This event dispatcher 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