System.Bluetooth.TBluetoothGattServer.DoCreateCharacteristic
Delphi
function DoCreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID; const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic; virtual; abstract;
C++
virtual TBluetoothGattCharacteristic* __fastcall DoCreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString()) = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
指定された UUID、プロパティ フラグ、記述を持つキャラクタリスティックを新しく作成して、指定されたサービスに追加し、この新しいキャラクタリスティックを返します。
- メモ: これは、TBluetoothGattServer のプラットフォーム固有のサブクラスで実装される抽象メソッドです。