System.Bluetooth.TBluetoothLEDevice.DoDiscoverServices
Delphi
function DoDiscoverServices: Boolean; virtual; abstract;
C++
virtual bool __fastcall DoDiscoverServices() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEDevice |
Description
Discovers services offered by a remote Bluetooth Low Energy device as well as their characteristics and descriptors.
Once service discovery is completed, the OnServicesDiscovered event is triggered. If the discovery was successful, the remote services can be retrieved using the Services property.
DoDiscoverServices returns True
if the discovery starts successfully, or False
if something prevents the discovery from starting. DiscoverServices calls DoDiscoverServices.
- Note: This is an abstract method that platform-specific subclasses of TBluetoothLEDevice implement.
Platform Support
Platform | Bluetooth Low Energy | |
---|---|---|
Client | Server | |
Windows |
8+ |
|
OS X |
10.7+ |
10.9+ |
iOS |
5+ |
6+ |
Android |
4.3+ |