System.Bluetooth.TBluetoothGattServer.OnConnectedDevice
Delphi
property OnConnectedDevice: TConnectLEDeviceEvent read FOnConnectedDevice write FOnConnectedDevice;
C++
__property TConnectLEDeviceEvent OnConnectedDevice = {read=FOnConnectedDevice, write=FOnConnectedDevice};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
お使いの GATT サーバーにリモート デバイスが接続したときに発生します。
OnConnectedDevice のイベント ハンドラは、次のパラメータを受け取ります:
Sender
は GATT サーバーです。ADevice
は、GATT サーバーへ今接続したリモート デバイスです。
プラットフォーム サポート
プラットフォーム | サポート |
---|---|
Android |
|
iOS |
|
OS X |
|
Windows |