System.Bluetooth.TBluetoothGattServer.OnDisconnectDevice

提供: RAD Studio API Documentation
移動先: 案内検索

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

YesC++11Feature.png

iOS

OS X

Windows

関連項目