System.Bluetooth.TBluetoothGattServer.OnDisconnectDevice
Delphi
property OnDisconnectDevice: TConnectLEDeviceEvent read FOnDisconnectDevice write FOnDisconnectDevice;
C++
__property TConnectLEDeviceEvent OnDisconnectDevice = {read=FOnDisconnectDevice, write=FOnDisconnectDevice};
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
お使いの GATT サーバーからリモート デバイスが接続解除したときに発生します。
OnDisconnectDevice のイベント ハンドラは、次のパラメータを受け取ります:
Senderは GATT サーバーです。ADeviceは、GATT サーバーから今切断されたリモート デバイスです。
プラットフォーム サポート
現時点では、GATT サーバーからリモート デバイスがクライアントとして接続解除することを通知する機能をサポートしているプラットフォームはありません。