System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicRead

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

Delphi

procedure DoOnCharacteristicRead(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;  AGattStatus: TBluetoothGattStatus);

C++

void __fastcall DoOnCharacteristicRead(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


説明

OnCharacteristicRead イベントのディスパッチャです。

DoOnCharacteristicRead が呼び出されるのは、リモート デバイスから提供されるサービスのキャラクタリスティックのデータがリモート デバイスから読み取られたときです。

この読み取り操作は、次のいずれかの場合にトリガされる可能性があります。

  • ReadCharacteristic を使って、キャラクタリスティックのデータの読み取りを積極的に要求した場合。
  • SubscribeToCharacteristic を使って、キャラクタリスティックの変更通知を有効にしたあと、そのキャラクタリスティックがリモート デバイス上で変更され、ユーザー側のキャラクタリスティックのデータが自動的に更新された場合。

このイベント ディスパッチャは次のパラメータを受け取ります。

関連項目