System.Bluetooth.Components.TBluetoothLE.GetCharacteristic

提供: RAD Studio API Documentation
移動先: 案内検索

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 は、特性識別子です。

関連項目