System.Bluetooth.TBluetoothGattServer.DoCreateCharacteristic

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 ;

Propriétés

Type Visibilité  Source Unité  Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer


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 : Il s'agit d'une méthode abstraite qu'implémentent les sous-classes de TBluetoothGattServer spécifiques à la plate-forme.

Voir aussi