System.Bluetooth.TBluetoothGattCharacteristic.Create

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

Delphi

constructor Create(const AService: TBluetoothGattService); overload;
constructor Create(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags); overload;

C++

__fastcall TBluetoothGattCharacteristic(TBluetoothGattService* const AService)/* overload */;
__fastcall TBluetoothGattCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags)/* overload */;

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattCharacteristic


説明

指定されたパラメータで TBluetoothGattCharacteristic のインスタンスを作成します。

Create の第 1 のオーバーロード メソッドは、下記のパラメータで呼び出します。

パラメータ 意味
AService このキャラクタリスティックが属する GATT サービス

Create の第 2 のオーバーロード メソッドは、下記のパラメータで呼び出します。

パラメータ 意味
AUuid このキャラクタリスティックの UUID。
APropertyFlags このキャラクタリスティックの機能を示すプロパティ フラグのビット マスク。

関連項目