System.Bluetooth.Components.TBluetoothLE.OnCharacteristicRead

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCharacteristicRead: TGattCharacteristicEvent read FOnCharacteristicRead write FOnCharacteristicRead;

C++

__property System::Bluetooth::TGattCharacteristicEvent OnCharacteristicRead = {read=FOnCharacteristicRead, write=FOnCharacteristicRead};

Properties

Type Visibility Source Unit Parent
event published
System.Bluetooth.Components.pas
System.Bluetooth.Components.hpp
System.Bluetooth.Components TBluetoothLE

Description

Occurs when the data of a characteristic of a service from a remote device is read from the remote device.

This read operation may be triggered by any of the following:

  • You actively requested to read the data of a characteristic using ReadCharacteristic.
  • You enabled notifications for changes on a characteristic using SubscribeToCharacteristic, the characteristic then changed on the remote device and the data of the characteristic was automatically updated on your end.

The handler of OnCharacteristicRead receives the following parameters:

See Also