System.Bluetooth.TBluetoothGattServer.DoOnCharacteristicRead
Delphi
procedure DoOnCharacteristicRead(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;
var AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicRead(System::TObject* const Sender, TBluetoothGattCharacteristic* const ACharacteristic, TBluetoothGattStatus &AGattStatus);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
OnCharacteristicRead イベントのディスパッチャです。
DoOnCharacteristicRead が呼び出されるのは、GATT サーバーがクライアント デバイスからキャラクタリスティック データの要求を受け取ったときです。
このイベント ディスパッチャは次のパラメータを受け取ります。
Senderはお使いの GATT サーバーです。ACharacteristicは、要求されたキャラクタリスティックです。AGattStatusは読み取り要求の終了ステータスです。