System.Bluetooth.TBluetoothGattCharacteristic.SetValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetValue(const AValue: TBytes);

C++

void __fastcall SetValue(const System::DynamicArray<System::Byte> AValue);

Properties

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

Description

Setter of Value. Updates the value for this characteristic.

SetValue is used as a setter method for Value. The AValue parameter is the characteristic value to update. The expected argument is an Array of Bytes containing the value, see the official page for more information on the bytes structure: Standard BluetoothLE Characteristics

The SetValue function updates the stored value for this characteristic by calling DoSetValue.

See Also