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