System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicReadRequest
Delphi
procedure DoOnCharacteristicReadRequest(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;
var AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicReadRequest(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 イベントのディスパッチャです。
DoOnCharacteristicReadRequest が呼び出されるのは、お使いのコンポーネントの GATT サーバーがクライアント デバイスからキャラクタリスティック データの要求を受け取ったときです。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
はお使いのコンポーネントの GATT サーバーです。ACharacteristic
は、要求されたキャラクタリスティックです。AGattStatus
は読み取り要求の終了ステータスです。