System.Bluetooth.TBluetoothLEDevice.OnCharacteristicRead

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

Delphi

property OnCharacteristicRead: TGattCharacteristicEvent read FOnCharacteristicRead write FOnCharacteristicRead;

C++

__property TGattCharacteristicEvent OnCharacteristicRead = {read=FOnCharacteristicRead, write=FOnCharacteristicRead};

プロパティ

種類 可視性 ソース ユニット
event public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEDevice


説明

リモート デバイスから提供されるサービスのキャラクタリスティックのデータがリモート デバイスから読み取られたときに発生します。

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

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

OnCharacteristicReadハンドラは次のパラメータを取得します:

関連項目