Show: Delphi C++
Display Preferences

System.Bluetooth.TBluetoothLEDevice.SetCharacteristicNotification

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetCharacteristicNotification(const ACharacteristic: TBluetoothGattCharacteristic; Enable: Boolean): Boolean;

C++

bool __fastcall SetCharacteristicNotification(TBluetoothGattCharacteristic* const ACharacteristic, bool Enable);

Properties

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

Description

Determines whether to enable notifications for changes on the specified characteristic, so that when the characteristic changes on the remote device the data of the characteristic is automatically updated on your end (True), or not (False).

If you enable notifications for a characteristic, you can handle the OnCharacteristicRead event to track any automatic update of the data of the characteristic.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance