System.Bluetooth.TBluetoothGattCharacteristic.Create
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
|
このキャラクタリスティックの機能を示すプロパティ フラグのビット マスク。 |