System.Bluetooth.TBluetoothGattCharacteristic.GetDescriptor
Delphi
function GetDescriptor(const AUuid: TBluetoothUUID): TBluetoothGattDescriptor;
C++
TBluetoothGattDescriptor* __fastcall GetDescriptor(const TBluetoothUUID &AUuid);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Demande le TBluetoothGattDescriptor avec l'UUID transmis en tant qu'argument à partir de la liste de descripteurs pour cette TBluetoothGattCharacteristic.
Renvoie un objet descripteur GATT ou nil
si aucun descripteur GATT avec l'UUID donné n'est trouvé.
GetDescriptor attend un seul argument, AUuid
, qui est l'UUID de ce descripteur. L'UUID est le type TBluetoothUUID.