System.Bluetooth.TBluetoothGattServer.DoOnDisconnectDevice
Delphi
procedure DoOnDisconnectDevice(const Sender: TObject; const ADevice: TBluetoothLEDevice); virtual;
C++
virtual void __fastcall DoOnDisconnectDevice(System::TObject* const Sender, TBluetoothLEDevice* const ADevice);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
OnDisconnectDevice イベントのディスパッチャです。
DoOnDisconnectDevice が呼び出されるのは、リモート デバイスが GATT サーバーから接続解除したときです。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
はお使いの GATT サーバーです。ADevice
は、お使いの GATT サーバーへの接続を解除するリモート デバイスです。
プラットフォーム サポート
現時点では、GATT サーバーからリモート デバイスがクライアントとして接続解除することを通知する機能をサポートしているプラットフォームはありません。