System.Bluetooth.TBluetoothLEDevice.OnCharacteristicRead

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnCharacteristicRead: TGattCharacteristicEvent read FOnCharacteristicRead write FOnCharacteristicRead;

C++

__property TGattCharacteristicEvent OnCharacteristicRead = {read=FOnCharacteristicRead, write=FOnCharacteristicRead};

Properties

Type Visibility Source Unit Parent
event public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEDevice

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 SetCharacteristicNotification, 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