System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsInt8

提供:RAD Studio API Documentation

Delphi

procedure SetValueAsInt8(AValue: Int8; Offset: Integer = 0);

C++

void __fastcall SetValueAsInt8(System::Int8 AValue, int Offset = 0x0);

プロパティ

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


説明

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

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

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

SetValueAsInt8 では、データ型 Int8 で SetValueAs を呼び出します。

関連項目