System.Bluetooth.TBluetoothGattService.CreateCharacteristic
Delphi
function CreateCharacteristic(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags; const ADescription: string): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | 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.
Siehe auch
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothUUID
- System.Bluetooth.TBluetoothPropertyFlags
- System.String
- System.Bluetooth.TBluetoothGattCharacteristic