System.Bluetooth.TBluetoothGattServer.OnCharacteristicWrite
Delphi
property OnCharacteristicWrite: TGattCharacteristicWriteEvent read FOnCharacteristicWrite write FOnCharacteristicWrite;
C++
__property TGattCharacteristicWriteEvent OnCharacteristicWrite = {read=FOnCharacteristicWrite, write=FOnCharacteristicWrite};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Occurs when your GATT server receives a request from a client device to edit the data of a characteristic.
The handler of OnCharacteristicWrite receives the following parameters:
Sender
is your GATT server.ACharacteristic
is the characteristic that is the target of the the request.AGattStatus
is the exit status of the write request.