System.Bluetooth.TBluetoothGattCharacteristic.SetValueAs

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

Delphi

procedure SetValueAs<T>(AValue: T; Offset: Integer = 0);

C++

template<typename T> void __fastcall SetValueAs(T AValue, int Offset = 0x0);

プロパティ

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


説明

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

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

  • AValue: 値。
  • Offsetバイト配列のインデックス値。Offset のデフォルト値は 0(配列の先頭位置)です。

SetValueAs では、SetValue を呼び出して、ValueTBytes として定義します。

関連項目