System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsInt32

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetValueAsInt32(Offset: Integer = 0): Int32;

C++

int __fastcall GetValueAsInt32(int Offset = 0x0);

Eigenschaften

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


Beschreibung

Gibt den Wert (Value) des Merkmals als Integer zurück.

GetValueAsInt32 übernimmt Offset als Argument zum Definieren des Indexwertes für das Byte-Array. Der Standardwert für Offset ist 0, die erste Position des Arrays.

GetValueAsInt32 ruft GetValueAs mit dem angeforderten Typ Int32 auf.

T Getter
Int8 GetValueAsInt8
Int16 GetValueAsInt16
Int64 GetValueAsInt64
UInt8 GetValueAsUInt8
UInt16 GetValueAsUInt16
UInt32 GetValueAsUInt32
UInt64 GetValueAsUInt64
Double GetValueAsDouble
Integer GetValueAsInteger
Single GetValueAsSingle
String GetValueAsString

Siehe auch