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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
Description
Creates a characteristic with the specified UUID, property flags, and description, adds the new characteristic to the specified service, and returns the new characteristic.
See Also
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothUUID
- System.Bluetooth.TBluetoothPropertyFlags
- System.String
- System.Bluetooth.TBluetoothGattCharacteristic