System.Bluetooth.TBluetoothGattServer.OnDisconnectDevice

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDisconnectDevice: TConnectLEDeviceEvent read FOnDisconnectDevice write FOnDisconnectDevice;

C++

__property TConnectLEDeviceEvent OnDisconnectDevice = {read=FOnDisconnectDevice, write=FOnDisconnectDevice};

Properties

Type Visibility Source Unit Parent
event public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer

Description

Occurs when a remote device disconnects from your GATT server.

The event handler of OnDisconnectDevice receives the following parameters:

  • Sender is your GATT server.
  • ADevice is the remote device that is now disconnected from your GATT server.

Platform Support

Platform Support

Android

YesC++11Feature.png

iOS

OS X

Windows

See Also