System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicWrite
Delphi
procedure DoOnCharacteristicWrite(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic; AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicWrite(System::TObject* const Sender, System::Bluetooth::TBluetoothGattCharacteristic* const ACharacteristic, System::Bluetooth::TBluetoothGattStatus AGattStatus);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
説明
OnCharacteristicWrite イベントのディスパッチャです。
DoOnCharacteristicWrite が呼び出されるのは、リモート デバイスから提供されるサービスのキャラクタリスティックのデータがリモート デバイスに書き込まれたときです。
WriteCharacteristic を使って書き込み操作を開始します。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
は、このキャラクタリスティックを提供するリモート デバイスです。ACharacteristic
は、書き込まれたキャラクタリスティックです。AGattStatus
は書き込み操作の終了ステータスです。