System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsString

提供:RAD Studio API Documentation

Delphi

procedure SetValueAsString(const AValue: string; IsUTF8: Boolean = True);

C++

void __fastcall SetValueAsString(const System::UnicodeString AValue, bool IsUTF8 = true);

プロパティ

種類 可視性 ソース ユニット 親
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattCharacteristic


説明

キャラクタリスティックの値を、引数で指定された String 値 AValue に設定します。

SetValueAsString には次の 2 つの引数が必要です。

  • AValue: String 値。
  • IsUTF8: Boolean 値(次のいずれか)。
    • True: Value が UTF8 として設定されます。
    • False: Value が Unicode として設定されます。

関連項目