System.Bluetooth.TBluetoothGattDescriptor.Create
Delphi
constructor Create(const ACharacteristic: TBluetoothGattCharacteristic); overload;
constructor Create(const ACharacteristic: TBluetoothGattCharacteristic; const AUUID: TBluetoothUUID); overload;
C++
__fastcall TBluetoothGattDescriptor(TBluetoothGattCharacteristic* const ACharacteristic)/* overload */;
__fastcall TBluetoothGattDescriptor(TBluetoothGattCharacteristic* const ACharacteristic, const GUID &AUUID)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattDescriptor |
Description
Crée une instance de TBluetoothGattDescriptor 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 |
ACharacteristic
|
La caractéristique GATT à laquelle appartient ce descripteur. |
Appelez la seconde méthode Create surchargée avec les paramètres décrits ci-dessous.
Paramètre | Signification |
ACharacteristic
|
La caractéristique GATT à laquelle appartient ce descripteur. |
AUUID
|
L'UUID de ce descripteur. |