System.Bluetooth.Components.TBluetoothLE.AddService
Delphi
function AddService(const AService: TBluetoothGattService): Boolean;
C++
bool __fastcall AddService(System::Bluetooth::TBluetoothGattService* const AService);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Ajoute un service précédemment créé et ses caractéristiques au serveur sous-jacent.
Renvoie True
si l'action réussit (le service est ajouté à la liste des services).
Voir aussi
- 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