System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsDouble
Delphi
function GetValueAsDouble(Offset: Integer = 0): Double;
C++
double __fastcall GetValueAsDouble(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 Double zurück.
GetValueAsDouble übernimmt Offset
als Argument, um den Indexwert für das Byte-Array zu definieren. Der Vorgabewert für Offset
ist 0
, die erste Position des Arrays.
GetValueAsDouble ruft GetValueAs mit dem angeforderten Typ Double
auf.
T
|
Getter |
---|---|
Int8 | GetValueAsInt8 |
Int16 | GetValueAsInt16 |
Int32 | GetValueAsInt32 |
Int64 | GetValueAsInt64 |
UInt8 | GetValueAsUInt8 |
UInt16 | GetValueAsUInt16 |
UInt32 | GetValueAsUInt32 |
UInt64 | GetValueAsUInt64 |
Integer | GetValueAsInteger |
Single | GetValueAsSingle |
String | GetValueAsString |