System.Bluetooth.TBluetoothGattServer.CreateService
Delphi
function CreateService(const AnUUID: TBluetoothUUID; AType: TBluetoothServiceType): TBluetoothGattService;
C++
TBluetoothGattService* __fastcall CreateService(const GUID &AnUUID, TBluetoothServiceType AType);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | 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.