System.Bluetooth.TBluetoothGattServer.DoCreateService
Delphi
function DoCreateService(const AnUUID: TBluetoothUUID; AType: TBluetoothServiceType): TBluetoothGattService; virtual; abstract;
C++
virtual TBluetoothGattService* __fastcall DoCreateService(const GUID &AnUUID, TBluetoothServiceType AType) = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Crée un service du type de service spécifié avec l'UUID spécifié et renvoie ce nouveau service.
- Remarque : C'est une méthode abstraite qu'implémentent les sous-classes de TBluetoothGattServer spécifiques à la plate-forme.