System.Bluetooth.TBluetoothLEAdvertiseData.AddServiceUUID

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure AddServiceUUID(const AServiceUUID: TBluetoothUUID);

C++

void __fastcall AddServiceUUID(const GUID &AServiceUUID);

Propriétés

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


Description

Ajoute l'UUID spécifié d'un service GATT aux UUID des services promus.

Exceptions

Exception Message Scénarios
EBluetoothLEAdvertiseDataException Requiert au minimum Android 5 (API 21)
  • Votre périphérique exécute une version d'Android qui ne prend pas en charge la diffusion de publicités Bluetooth LE.

Voir aussi