System.Bluetooth.TBluetoothGattCharacteristic.Create
Delphi
constructor Create(const AService: TBluetoothGattService); overload;
constructor Create(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags); overload;
C++
__fastcall TBluetoothGattCharacteristic(TBluetoothGattService* const AService)/* overload */;
__fastcall TBluetoothGattCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Creates an instance of TBluetoothGattCharacteristic with the specified parameters.
Call the first overloaded Create method with the parameters described below.
Parameter | Meaning |
AService
|
The GATT service this characteristic belongs to. |
Call the second overloaded Create method with the parameters described below.
Parameter | Meaning |
AUuid
|
The UUID for this characteristic. |
APropertyFlags
|
The bit mask of property flags indicating the features of this characteristic. |