System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsInt16

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure SetValueAsInt16(AValue: Int16; Offset: Integer = 0);

C++

void __fastcall SetValueAsInt16(short 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.

SetValueAsInt16 erwartet zwei Argumente:

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

SetValueAsInt16 ruft SetValueAs mit dem Datentyp Int16 auf.

Siehe auch