System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsUInt16

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure SetValueAsUInt16(AValue: UInt16; Offset: Integer = 0);

C++

void __fastcall SetValueAsUInt16(System::Word 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.

SetValueAsUInt16 erwartet zwei Argumente:

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

SetValueAsUInt16 ruft SetValueAs mit dem Datentyp UInt16 auf.

Siehe auch