System.Bluetooth.TBluetoothGattService.DoCreateCharacteristic
Delphi
function DoCreateCharacteristic(const AUuid: TBluetoothUUID; APropertyFlags: TBluetoothPropertyFlags;
const ADescription: string): TBluetoothGattCharacteristic; virtual; abstract;
C++
virtual TBluetoothGattCharacteristic* __fastcall DoCreateCharacteristic(const GUID &AUuid, TBluetoothPropertyFlags APropertyFlags, const System::UnicodeString ADescription) = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | 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.
- Remarque : C'est une méthode abstraite qu'implémentent les sous-classes de TBluetoothGattService spécifiques à la plate-forme.