System.Bluetooth.TBluetoothGattCharacteristic.GetDescriptor
Delphi
function GetDescriptor(const AUuid: TBluetoothUUID): TBluetoothGattDescriptor;
C++
TBluetoothGattDescriptor* __fastcall GetDescriptor(const GUID &AUuid);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Requests the TBluetoothGattDescriptor with the UUID passed as an argument from the list of descriptors for this TBluetoothGattCharacteristic.
Returns a GATT descriptor object or nil
if no GATT descriptor with the given UUID is found.
GetDescriptor expects a single argument, AUuid
, which is the UUID of this descriptor. The UUID is the type TBluetoothUUID.