System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsString
Delphi
function GetValueAsString(Offset: Integer = 0; IsUTF8: Boolean = True): string;
C++
System::UnicodeString __fastcall GetValueAsString(int Offset = 0x0, bool IsUTF8 = true);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Renvoie la caractéristique Value sous la forme d'un String.
GetValueAsString attend deux arguments :
Offset
: La valeur d'index du tableau d'octets. La valeur par défaut deOffset
est0
, soit la première position du tableau.
IsUTF8
: Un argument booléen :