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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Returns the Characteristic Value as a String.
GetValueAsString expects two arguments:
Offset
: The index value for the array of bytes. The default value forOffset
is0
, the first position of the array.
IsUTF8
: A boolean argument: