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 ;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Beschreibung
Erstellt ein Merkmal mit der angegebenen UUID, den Eigenschaft-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 TBluetoothGattServer implementiert wird.