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 GUID &AUUID, System::Bluetooth::TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Beschreibung
Erstellt ein Merkmal mit der angegebenen UUID, den Eigenschafts-Flags und der Beschreibung, fügt dem angegebenen Dienst das neue Merkmal hinzu und gibt das neue Merkmal zurück.