System.Bluetooth.TBluetoothGattService.GetCharacteristic
Delphi
function GetCharacteristic(const AUUID: TBluetoothUUID): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall GetCharacteristic(const GUID &AUUID);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
説明
GATT サービス プロファイルから引数として渡された UUID の GATT キャラクタリスティックを要求するためのものです。
GetCharacteristic に必要な引数は、キャラクタリスティック識別子である <TBluetoothUUID> だけです。GetCharacteristic は、そのキャラクタリスティック UUID の TBluetoothGattCharacteristic クラスのインスタンスを返します。
GATT キャラクタリスティックである TBluetoothGattCharacteristic は、GATT サービスである BluetoothGattService を構築するために使われる基本データ要素です。このキャラクタリスティックには、値および追加情報と、オプションで GATT ディスクリプタ BluetoothGattDescriptor が含まれます。