System.Bluetooth.TBluetoothGattCharacteristic.GetValueAsString

提供: RAD Studio API Documentation
移動先: 案内検索

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(配列の先頭位置)です。
  • IsUTF8: 論理型引数(次のいずれか)。
    • True: 結果は UTF8 でエンコードされます。
    • False: 結果は Unicode でエンコードされます。

関連項目