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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
説明
キャラクタリスティックの値を String として返します。
GetValueAsString には次の 2 つの引数が必要です。
Offset
: バイト配列のインデックス値。Offset
のデフォルト値は0
(配列の先頭位置)です。