System.Bluetooth.TBluetoothGattServer.AddCharacteristic
Delphi
function AddCharacteristic(const AService: TBluetoothGattService; const ACharacteristic: TBluetoothGattCharacteristic): Boolean;
C++
bool __fastcall AddCharacteristic(TBluetoothGattService* const AService, TBluetoothGattCharacteristic* const ACharacteristic);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Ajoute la caractéristique spécifiée au service spécifié et renvoie True
en cas de réussite ; renvoie False
sinon.
Support de la plate-forme
Plate-forme | Supporté |
---|---|
Windows |
|
OS X |
10.9+ |
iOS |
6+ |
Android |