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