System.Bluetooth.TBluetoothGattServer.DoOnClientSubscribed
Delphi
procedure DoOnClientSubscribed(const Sender: TObject; const AClientId: string; const ACharacteristic: TBluetoothGattCharacteristic); virtual;
C++
virtual void __fastcall DoOnClientSubscribed(System::TObject* const Sender, const System::UnicodeString AClientId, TBluetoothGattCharacteristic* const ACharacteristic);
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 OnClientSubscribed.
Le serveur GATT appelle DoOnClientSubscribed lorsqu'un client s'abonne à une caractéristique.
Le gestionnaire de cet événement reçoit les arguments suivants :
Sender
est le serveur GATT.AUUID
est l'identificateur unique du client qui s'abonne.ACharacteristic
est la caractéristique faisant l'objet de l'abonnement.