System.Bluetooth.TBluetoothLEAdvertiseData.AddServiceUUID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddServiceUUID(const AServiceUUID: TBluetoothUUID);

C++

void __fastcall AddServiceUUID(const GUID &AServiceUUID);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdvertiseData

Description

Adds the specified UUID of a GATT service to the advertised service UUIDs.

Exceptions

Exception Message Scenarios
EBluetoothLEAdvertiseDataException Need at least Android 5 (API 21)
  • Your device runs a version of Android that does not support Bluetooth LE advertising.

See Also