System.Bluetooth.TBluetoothGattService.DoAddCharacteristic
Delphi
function DoAddCharacteristic(const ACharacteristic: TBluetoothGattCharacteristic): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoAddCharacteristic(TBluetoothGattCharacteristic* const ACharacteristic) = 0 ;
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
Beschreibung
Fügt Ihrem Dienst das angegebene Merkmal hinzu und gibt bei Erfolg True
zurück; andernfalls wird False
zurückgegeben.
- Hinweis: Dies ist eine abstrakte Methode, die plattformspezifische Implementierungen von TBluetoothGattService beschreiben.
Plattformunterstützung
Plattform | Unterstützt |
---|---|
Windows |
|
OS X |
10.9+ |
iOS |
6+ |
Android |