System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsUInt64
Delphi
function GetValueAsUInt64(Offset: Integer = 0): UInt64;
C++
unsigned __int64 __fastcall GetValueAsUInt64(int Offset = 0x0);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Renvoie la valeur de la caractéristique sous forme de UInt64.
GetValueAsUInt64 prend Offset comme argument pour définir la valeur d'index du tableau d'octets. La valeur par défaut de Offset est 0, soit la première position du tableau.
GetValueAsUInt64 appelle GetValueAs avec le type requis, UInt64.
T
|
Accesseur en lecture |
|---|---|
| Int8 | GetValueAsInt8 |
| Int16 | GetValueAsInt16 |
| Int32 | GetValueAsInt32 |
| Int64 | GetValueAsInt64 |
| UInt8 | GetValueAsUInt8 |
| UInt16 | GetValueAsUInt16 |
| UInt32 | GetValueAsUInt32 |
| Double | GetValueAsDouble |
| Integer | GetValueAsInteger |
| Single | GetValueAsSingle |
| String | GetValueAsString |