System.Bluetooth.TBluetoothGattService.DoAddCharacteristic
Delphi
function DoAddCharacteristic(const ACharacteristic: TBluetoothGattCharacteristic): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoAddCharacteristic(TBluetoothGattCharacteristic* const ACharacteristic) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | protected | System.Bluetooth.pas System.Bluetooth.hpp | System.Bluetooth | TBluetoothGattService | 
Description
Adds the specified characteristic to your service and returns True on success; it returns False otherwise.
- Note: This is an abstract method that platform-specific implementations of TBluetoothGattService describe.
Platform Support
| Platform | Supported | 
|---|---|
| Windows | |
| OS X | 10.9+ | 
| iOS | 6+ | 
| Android |