System.Bluetooth.Components.TBluetoothLE.DoServiceAdded

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

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


Description

Répartiteur de l'événement OnServiceAdded.

DoServiceAdded est appelée après l'ajout d'un service au serveur GATT de votre composant suite à un appel précédent à AddService sur ce même serveur GATT.

Ce répartiteur d'événement reçoit les paramètres suivants :

  • Sender est le serveur GATT de votre composant.
  • AService est le service qui a été ajouté au serveur GATT de votre composant.
  • AGattStatus est le statut de sortie de l'opération d'ajout.

Voir aussi