System.Bluetooth.Components.TBluetoothLE.CreateService
Delphi
function CreateService(const AnUUID: TBluetoothUUID; AType: TBluetoothServiceType): TBluetoothGattService;
C++
System::Bluetooth::TBluetoothGattService* __fastcall CreateService(const System::Bluetooth::TBluetoothUUID &AnUUID, System::Bluetooth::TBluetoothServiceType AType);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp | System.Bluetooth.Components | TBluetoothLE | 
Description
Creates a service of the specified service type with the specified UUID and returns that new service.