System.Bluetooth.TBluetoothGattServer.DoServiceAdded

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

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

Propriétés

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


Description

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

DoServiceAdded est appelée après l'ajout d'un service à votre serveur GATT suite à un appel précédent à AddService.

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

  • status est le statut de sortie de l'opération d'ajout.
  • AService est le service qui a été ajouté à votre serveur GATT.

Voir aussi