System.Bluetooth.TBluetoothLEAdvertiseData.DoAddServiceUUID
Delphi
function DoAddServiceUUID(const AServiceUUID: TBluetoothUUID): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoAddServiceUUID(const GUID &AServiceUUID) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEAdvertiseData |
Description
- Note: This is an abstract method that platform-specific subclasses of TBluetoothLEAdvertiseData implement.
Attempts to add the specified UUID of a GATT service to the advertised service UUIDs, and returns True
on success or False
otherwise.
Exceptions
Exception | Message | Scenarios |
---|---|---|
EBluetoothLEAdvertiseDataException | Need at least Android 5 (API 21) |
|