System.Bluetooth.TBluetoothGattCharacteristic.GetDescriptor
Delphi
function GetDescriptor(const AUuid: TBluetoothUUID): TBluetoothGattDescriptor;
C++
TBluetoothGattDescriptor* __fastcall GetDescriptor(const GUID &AUuid);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
説明
UUID を引数に渡して、この TBluetoothGattCharacteristic のディスクリプタ リストから、該当する TBluetoothGattDescriptor を要求します。
GATT ディスクリプタ オブジェクトを返します。指定された UUID を持つ GATT ディスクリプタが見つからない場合は、nil
を返します。
GetDescriptor に必要な引数は AUuid
(このディスクリプタの UUID)だけです。UUID は TBluetoothUUID 型です。