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 サーバーから今切断されたリモート デバイスです。
プラットフォーム サポート
プラットフォーム | サポート |
---|---|
Android |
|
iOS |
|
OS X |
|
Windows |