System.Bluetooth.TBluetoothGattService.DoCreateCharacteristic
Delphi
function DoCreateCharacteristic(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags;
const ADescription: string): TBluetoothGattCharacteristic; virtual; abstract;
C++
virtual TBluetoothGattCharacteristic* __fastcall DoCreateCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
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 TBluetoothGattService implement.