System.Bluetooth.TBluetoothGattService.DoAddCharacteristic
Delphi
function DoAddCharacteristic(const ACharacteristic: TBluetoothGattCharacteristic): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoAddCharacteristic(TBluetoothGattCharacteristic* const ACharacteristic) = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
Description
Ajoute la caractéristique spécifiée à votre service et renvoie True
en cas de réussite ; renvoie False
sinon.
- Remarque : C'est une méthode abstraite que décrivent les implémentations de TBluetoothGattService spécifiques à la plate-forme.
Support de la plate-forme
Plate-forme | Prise en charge |
---|---|
Windows |
|
OS X |
10.9+ |
iOS |
6+ |
Android |