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


説明

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

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

  • AValueString 値。
  • IsUTF8Boolean 値(次のいずれか)。
    • TrueValueUTF8 として設定されます。
    • FalseValueUnicode として設定されます。

関連項目