System.Bluetooth.Components.TBluetoothLE.AddService
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
- System.Bluetooth.Components.TBluetoothLE
- System.Bluetooth.Components.TBluetoothLE.GetServices
- System.Bluetooth.Components.TBluetoothLE.GetService
- System.Bluetooth.Components.TBluetoothLE.GetGattServer
- System.Bluetooth.TBluetoothGattServer
- System.Bluetooth.TBluetoothGattServer.CreateService
- System.Bluetooth.TBluetoothGattServer.AddService
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothGattService.Characteristics