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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Crée une instance de TBluetoothGattCharacteristic avec les paramètres spécifiés.
Appelez la première méthode Create surchargée avec les paramètres décrits ci-dessous.
Paramètre | Signification |
AService
|
Le service GATT auquel appartient cette caractéristique. |
Appelez la seconde méthode Create surchargée avec les paramètres décrits ci-dessous.
Paramètre | Signification |
AUuid
|
L'UUID de cette caractéristique. |
APropertyFlags
|
Le masque de bits des indicateurs de propriété. Ce masque indique les fonctionnalités de cette caractéristique. |