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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Dispatcher of the OnClientSubscribed event.
The GATT server calls DoOnClientSubscribed when a client subscribes to a characteristic.
The handler of this event receives the following arguments:
Sender
is the GATT server.AClientID
is the unique identifier of the subscribing client.ACharacteristic
is the subscribed characteristic.