System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsUInt16

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

Delphi

procedure SetValueAsUInt16(AValue: UInt16; Offset: Integer = 0);

C++

void __fastcall SetValueAsUInt16(System::Word AValue, int Offset = 0x0);

プロパティ

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


説明

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

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

  • AValueWord 値。
  • Offsetバイト配列のインデックス値を指定します。Offset のデフォルト値は 0(配列の先頭位置)です。

SetValueAsUInt16 では、データ型 UInt16SetValueAs を呼び出します。

関連項目