System.Bluetooth.TBluetoothGattServer.CreateCharacteristic
Delphi
function CreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID; const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString());
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
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
- System.Bluetooth.TBluetoothGattServer.AddCharacteristic
- System.Bluetooth.TBluetoothGattServer.UpdateCharacteristicValue