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