System.Bluetooth.Components.TBluetoothLE.AddService

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function AddService(const AService: TBluetoothGattService): Boolean;

C++

bool __fastcall AddService(System::Bluetooth::TBluetoothGattService* const AService);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Bluetooth.Components.pas
System.Bluetooth.Components.hpp
System.Bluetooth.Components TBluetoothLE


Beschreibung

Fügt dem zugrunde liegenden Server einen zuvor erstellten Dienst und dessen Eigenschaften hinzu.

Gibt True zurück, wenn die Aktion erfolgreich ist (der Dienst wird der Liste der Dienste hinzugefügt).

Siehe auch