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 ;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
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.
- Hinweis: Dies ist eine abstrakte Methode, die von plattformspezifischen Unterklassen von TBluetoothGattService implementiert wird.