System.Bluetooth.TBluetoothGattServer.DoCreateCharacteristic
Delphi
function DoCreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID; const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic; virtual; abstract;
C++
virtual TBluetoothGattCharacteristic* __fastcall DoCreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString()) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Creates a characteristic with the specified UUID, property flags, and description, adds the new characteristic to the specified service, and returns the new characteristic.
- Note: This is an abstract method that platform-specific subclasses of TBluetoothGattServer implement.