System.Bluetooth.Components.TBluetoothLE.AddService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddService(const AService: TBluetoothGattService): Boolean;

C++

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

Properties

Type Visibility Source Unit Parent
function public
System.Bluetooth.Components.pas
System.Bluetooth.Components.hpp
System.Bluetooth.Components TBluetoothLE

Description

Adds a previously-created service and its characteristics to the underlying server.

Returns True if the action is successful (the service is added to the list of services).

See Also