System.Bluetooth.Components.TBluetoothLE.GetCharacteristic
Delphi
function GetCharacteristic(const AService: TBluetoothGattService; const AUUID: TBluetoothUUID)
C++
System::Bluetooth::TBluetoothGattCharacteristic* __fastcall GetCharacteristic(System::Bluetooth::TBluetoothGattService* const AService, const GUID &AUUID);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
説明
指定された GATT サービスから、指定された UUID を持つ GATT キャラクタリスティックを取得して返します。
- 警告:
AService
.Characteristics プロパティの値は、GetCharacteristic を呼び出す前に読み込まなければなりません。そうでなければ、GetCharacteristic は nil を返します。
GetCharacteristic に必要な引数は次のとおりです。
AService
は、特性を提供するサービスです。AUUID
は、特性識別子です。