System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsInt8

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetValueAsInt8(AValue: Int8; Offset: Integer = 0);

C++

void __fastcall SetValueAsInt8(System::Int8 AValue, int Offset = 0x0);

Properties

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

Description

Sets the Characteristic Value to the AValue supplied as an argument.

SetValueAsInt8 expects two arguments:

  • AValue: A Shortint value.
  • Offset: Defines the index value for the array of bytes. The default value for Offset is 0, the first position of the array.

SetValueAsInt8 calls SetValueAs with the data type, Int8.

See Also