System.Bluetooth.TBluetoothGattServer.DoCreateIncludedService
Delphi
function DoCreateIncludedService(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID;
AType: TBluetoothServiceType): TBluetoothGattService; virtual; abstract;
C++
virtual TBluetoothGattService* __fastcall DoCreateIncludedService(TBluetoothGattService* const AService, const TBluetoothUUID &AnUUID, TBluetoothServiceType AType) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Creates an included service (a reference to a service) of the specified service type with the specified UUID, adds that new included service to the list of included services of the specified service, and returns that new included service.
- Note: This is an abstract method that platform-specific subclasses of TBluetoothGattServer implement.