System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsInt8

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

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

C++

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattCharacteristic


Beschreibung

Setzt den Wert (Value) des Merkmals auf den als Argument übergebenen AValue.

SetValueAsInt8 erwartet zwei Argumente:

  • AValue: Ein Shortint-Wert.
  • Offset: Legt den Indexwert für das Byte-Array fest. Der Standardwert für Offset ist 0, die erste Position des Arrays.

SetValueAsInt8 ruft SetValueAs mit dem Datentyp Int8 auf.

Siehe auch