System.Bluetooth.TBluetoothLEAdvertiseData.AddServiceUUID

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure AddServiceUUID(const AServiceUUID: TBluetoothUUID);

C++

void __fastcall AddServiceUUID(const GUID &AServiceUUID);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdvertiseData


Beschreibung

Fügt den bekannt gegebenen Dienst-UUIDs die angegebene UUID eines GATT-Dienstes hinzu.

Exceptions

Exception Meldung Szenarien
EBluetoothLEAdvertiseDataException Mindestens Android 5 (API 21) erforderlich
  • Auf Ihrem Gerät wird eine Version von Android ausgeführt, die Bluetooth LE-Bekanntgaben nicht unterstützt.

Siehe auch