System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicWrite
Delphi
procedure DoOnCharacteristicWrite(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;  AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicWrite(System::TObject* const Sender, System::Bluetooth::TBluetoothGattCharacteristic* const ACharacteristic, 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 OnCharacteristicWrite event.
DoOnCharacteristicWrite is called when the data of a characteristic of a service from a remote device is written to the remote device.
You start a write operation using WriteCharacteristic.
This event dispatcher receives the following parameters:
- Senderis the remote device that provides the characteristic.
- ACharacteristicis the characteristic that has been written.
- AGattStatusis the exit status of the write operation.