System.Bluetooth.Components.TBluetoothLE.CreateCharacteristic
Delphi
function CreateCharacteristic(const AService: TBluetoothGattService; const AUUID: TBluetoothUUID;
APropertyFlags: TBluetoothPropertyFlags; const ADescription: string): TBluetoothGattCharacteristic;
C++
System::Bluetooth::TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(System::Bluetooth::TBluetoothGattService* const AService, const System::Bluetooth::TBluetoothUUID &AUUID, System::Bluetooth::TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
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.