System.Bluetooth.TBluetoothGattService.CreateCharacteristic
Delphi
function CreateCharacteristic(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags;  const ADescription: string): TBluetoothGattCharacteristic;
C++
TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription);
Propriétés
| Type | Visibilité | Source | Unité | Parent | 
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp | System.Bluetooth | TBluetoothGattService | 
Description
Crée une caractéristique avec l'UUID, les indicateurs de propriété et la description spécifiés, ajoute la nouvelle caractéristique au service spécifié, et renvoie la nouvelle caractéristique.
Voir aussi
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothUUID
- System.Bluetooth.TBluetoothPropertyFlags
- System.String
- System.Bluetooth.TBluetoothGattCharacteristic