System.Bluetooth.TBluetoothGattServer.CreateCharacteristic
Delphi
function CreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID; const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString());
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
指定された UUID、プロパティ フラグ、記述を持つキャラクタリスティックを新しく作成して、指定されたサービスに追加し、この新しいキャラクタリスティックを返します。
関連項目
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothUUID
- System.Bluetooth.TBluetoothPropertyFlags
- System.String
- System.Bluetooth.TBluetoothGattCharacteristic
- System.Bluetooth.TBluetoothGattServer.AddCharacteristic
- System.Bluetooth.TBluetoothGattServer.UpdateCharacteristicValue